#ACC542
Closest named color: Pea (#A4BF20). oklch(78% 0.156 119.5), rgb(172, 197, 66).
Aa
Black text reads best on this color (10.81:1).
About this color
#ACC542 is a medium-light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.156 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.026 away. Black text reads best on it, at 10.81:1.
| Hue family | Yellows |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.156) |
| Temperature | in between |
| Nearest name | Pea (#A4BF20) |
| Black text | 10.81:1 |
| White text | 1.94:1 |
Values
| HEX | #ACC542 |
| RGB | rgb(172, 197, 66) |
| HSL | hsl(71, 53%, 52%) |
| OKLCH | oklch(78% 0.156 119.5) |
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 #ACC542 | 1.94:1 | Fails | Lc -41.5 | Non-text elements, placeholder text |
| Black text on #ACC542 | 10.81:1 | AAA | Lc 66.8 | Content text, not long reading |
| #ACC542 text on white | 1.94:1 | Fails | Lc 37.1 | Non-text elements, placeholder text |
| #ACC542 text on black | 10.81:1 | AAA | Lc -65.3 | 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 300.
-
Step 50
50
#F3F8E8
oklch(97.1% 0.022 121)
-
Step 100
100
#E6EFCD
oklch(93.6% 0.046 119.3)
-
Step 200
200
#D2E2A1
oklch(88.5% 0.087 119.4)
-
Step 300
300 (this color)
#ACC542
oklch(78% 0.156 119.5)
-
Step 400
400
#95AE00
oklch(70.7% 0.167 119.5)
-
Step 500
500
#809500
oklch(63.1% 0.149 119.2)
-
Step 600
600
#6B7D00
oklch(55.5% 0.131 119.3)
-
Step 700
700
#596900
oklch(49% 0.116 119.6)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3C4800
oklch(37.7% 0.09 119.9)
-
Step 950
950
#232A00
oklch(26.9% 0.063 118.9)
#ACC542 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) | #D1BA2F | 0.054 |
| Deuteranopia (no green cones) | #CEBA4C | 0.057 |
| Tritanopia (no blue cones) | #B6BBAA | 0.132 |
| Achromatopsia (no color) | #BABABA | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ACC542
#ACC542
oklch(78% 0.156 119.5)
- #C4A4FF
#C4A4FF
oklch(78.1% 0.131 299.6)
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 #ACC542, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea #A4BF20 ΔE 0.026
- Light Olive Green #A4BE5C ΔE 0.034
- Yellow Green #9ACD32 ΔE 0.035
- Olive Yellow #C2B709 ΔE 0.043
- Bright Olive #9CBB04 ΔE 0.043
- Light Olive #ACBF69 ΔE 0.044
- Slime Green #99CC04 ΔE 0.045
- Mustard Green #A8B504 ΔE 0.045
Use #ACC542 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.