#A7BC2A
Closest named color: Pea (#A4BF20). oklch(75.4% 0.162 117.9), rgb(167, 188, 42).
Aa
Black text reads best on this color (9.86:1).
About this color
#A7BC2A is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.162 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.011 away. Black text reads best on it, at 9.86:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Pea (#A4BF20) |
| Black text | 9.86:1 |
| White text | 2.12:1 |
Values
| HEX | #A7BC2A |
| RGB | rgb(167, 188, 42) |
| HSL | hsl(69, 63%, 45%) |
| OKLCH | oklch(75.4% 0.162 117.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #A7BC2A | 2.12:1 | Fails | Lc -46.2 | Large or bold text, headings |
| Black text on #A7BC2A | 9.86:1 | AAA | Lc 62.4 | Content text, not long reading |
| #A7BC2A text on white | 2.12:1 | Fails | Lc 41.6 | Non-text elements, placeholder text |
| #A7BC2A text on black | 9.86:1 | AAA | Lc -60.7 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F4F7ED
oklch(97.1% 0.014 120.3)
-
Step 100
100
#E8EDD7
oklch(93.6% 0.03 117.4)
-
Step 200
200
#D5DFB5
oklch(88.5% 0.057 118.5)
-
Step 300
300
#BBCA7D
oklch(81% 0.102 117.7)
-
Step 400
400 (this color)
#A7BC2A
oklch(75.4% 0.162 117.9)
-
Step 500
500
#839400
oklch(63.1% 0.146 117.6)
-
Step 600
600
#6D7C00
oklch(55.4% 0.129 117.8)
-
Step 700
700
#5C6900
oklch(49.2% 0.114 117.9)
-
Step 800
800
#4B5600
oklch(42.8% 0.1 117.9)
-
Step 900
900
#3E4700
oklch(37.7% 0.087 117.6)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#A7BC2A with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #C9B100 | 0.052 |
| Deuteranopia (no green cones) | #C7B238 | 0.055 |
| Tritanopia (no blue cones) | #B2B1A1 | 0.141 |
| Achromatopsia (no color) | #B2B2B2 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A7BC2A
#A7BC2A
oklch(75.4% 0.162 117.9)
- #BB99FF
#BB99FF
oklch(75.4% 0.146 298.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A7BC2A, closest first.
No curated palette has a color within ΔE 0.04 of #A7BC2A.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea #A4BF20 ΔE 0.011
- Mustard Green #A8B504 ΔE 0.019
- Bright Olive #9CBB04 ΔE 0.021
- Light Olive Green #A4BE5C ΔE 0.036
- Olive Yellow #C2B709 ΔE 0.037
- Avocado #90B134 ΔE 0.045
- Yellow Green #9ACD32 ΔE 0.046
- Muddy Yellow #BFAC05 ΔE 0.049
Use #A7BC2A in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.