#C2B82B
Closest named color: Olive Yellow (#C2B709). oklch(76.8% 0.151 105.2), rgb(194, 184, 43).
Aa
Black text reads best on this color (10.18:1).
About this color
#C2B82B is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.151 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.010 away. Black text reads best on it, at 10.18:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.151) |
| Temperature | warm |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 10.18:1 |
| White text | 2.06:1 |
Values
| HEX | #C2B82B |
| RGB | rgb(194, 184, 43) |
| HSL | hsl(56, 64%, 46%) |
| OKLCH | oklch(76.8% 0.151 105.2) |
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 #C2B82B | 2.06:1 | Fails | Lc -44.6 | Non-text elements, placeholder text |
| Black text on #C2B82B | 10.18:1 | AAA | Lc 63.9 | Content text, not long reading |
| #C2B82B text on white | 2.06:1 | Fails | Lc 40.1 | Non-text elements, placeholder text |
| #C2B82B text on black | 10.18:1 | AAA | Lc -62.2 | 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
#F7F7E7
oklch(97.2% 0.021 106.8)
-
Step 100
100
#EEECCB
oklch(93.6% 0.043 104.4)
-
Step 200
200
#E1DD9C
oklch(88.5% 0.084 105)
-
Step 300
300 (this color)
#C2B82B
oklch(76.8% 0.151 105.2)
-
Step 400
400
#AFA500
oklch(70.8% 0.15 105.3)
-
Step 500
500
#968D00
oklch(63.1% 0.134 105.1)
-
Step 600
600
#7E7600
oklch(55.5% 0.118 104.9)
-
Step 700
700
#6A6300
oklch(49.1% 0.104 104.8)
-
Step 800
800
#575100
oklch(42.7% 0.09 104.7)
-
Step 900
900
#484300
oklch(37.6% 0.08 104.8)
-
Step 950
950
#2B2800
oklch(27.1% 0.058 105.3)
#C2B82B 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) | #C9B101 | 0.019 |
| Deuteranopia (no green cones) | #CCB737 | 0.018 |
| Tritanopia (no blue cones) | #D1AB9E | 0.138 |
| Achromatopsia (no color) | #B5B5B5 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C2B82B
#C2B82B
oklch(76.8% 0.151 105.2)
- #ACA8FF
#ACA8FF
oklch(76.9% 0.123 285.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 #C2B82B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.010
- Mustard #CEB301 ΔE 0.020
- Dark Yellow #D5B60A ΔE 0.028
- Mustard Yellow #D2BD0A ΔE 0.029
- Muddy Yellow #BFAC05 ΔE 0.031
- Burnt Yellow #D5AB09 ΔE 0.040
- Mustard Green #A8B504 ΔE 0.043
- Pea #A4BF20 ΔE 0.046
Use #C2B82B 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.