#C2CB40
Closest named color: Mustard Yellow (#D2BD0A). oklch(81% 0.158 113), rgb(194, 203, 64).
Aa
Black text reads best on this color (11.91:1).
About this color
#C2CB40 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.158 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.038 away. Black text reads best on it, at 11.91:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | vivid (0.158) |
| Temperature | in between |
| Nearest name | Mustard Yellow (#D2BD0A) |
| Black text | 11.91:1 |
| White text | 1.76:1 |
Values
| HEX | #C2CB40 |
| RGB | rgb(194, 203, 64) |
| HSL | hsl(64, 57%, 52%) |
| OKLCH | oklch(81% 0.158 113) |
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 #C2CB40 | 1.76:1 | Fails | Lc -36.2 | Non-text elements, placeholder text |
| Black text on #C2CB40 | 11.91:1 | AAA | Lc 71.6 | Content text, not long reading |
| #C2CB40 text on white | 1.76:1 | Fails | Lc 32.2 | Non-text elements, placeholder text |
| #C2CB40 text on black | 11.91:1 | AAA | Lc -70.5 | 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
#F5F7E7
oklch(97% 0.021 112.6)
-
Step 100
100
#E9EECB
oklch(93.6% 0.046 113.9)
-
Step 200
200
#D9E09D
oklch(88.5% 0.087 113)
-
Step 300
300 (this color)
#C2CB40
oklch(81% 0.158 113)
-
Step 400
400
#A2AA00
oklch(70.8% 0.158 113.1)
-
Step 500
500
#8B9100
oklch(63% 0.14 112.7)
-
Step 600
600
#747A00
oklch(55.6% 0.124 113.2)
-
Step 700
700
#626600
oklch(49% 0.109 112.4)
-
Step 800
800
#505400
oklch(42.8% 0.095 112.9)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#C2CB40 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) | #DAC22A | 0.037 |
| Deuteranopia (no green cones) | #DAC44A | 0.041 |
| Tritanopia (no blue cones) | #CFBFAF | 0.139 |
| Achromatopsia (no color) | #C3C3C3 | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C2CB40
#C2CB40
oklch(81% 0.158 113)
- #C3B4FF
#C3B4FF
oklch(80.9% 0.105 293.1)
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 #C2CB40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Yellow #D2BD0A ΔE 0.038
- Pale Olive Green #B1D27B ΔE 0.050
- Olive Yellow #C2B709 ΔE 0.051
- Greenish Beige #C9D179 ΔE 0.052
- Greenish Tan #BCCB7A ΔE 0.052
- Yellow Green #9ACD32 ΔE 0.054
- Dark Yellow #D5B60A ΔE 0.055
- Pea #A4BF20 ΔE 0.057
Use #C2CB40 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.