#C7BD40
Closest named color: Mustard Yellow (#D2BD0A). oklch(78.4% 0.143 104.7), rgb(199, 189, 64).
Aa
Black text reads best on this color (10.78:1).
About this color
#C7BD40 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.143 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.024 away. Black text reads best on it, at 10.78:1.
| Hue family | Yellows |
| Lightness | light (78%) |
| Chroma | vivid (0.143) |
| Temperature | warm |
| Nearest name | Mustard Yellow (#D2BD0A) |
| Black text | 10.78:1 |
| White text | 1.94:1 |
Values
| HEX | #C7BD40 |
| RGB | rgb(199, 189, 64) |
| HSL | hsl(56, 55%, 52%) |
| OKLCH | oklch(78.4% 0.143 104.7) |
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 #C7BD40 | 1.94:1 | Fails | Lc -41.7 | Non-text elements, placeholder text |
| Black text on #C7BD40 | 10.78:1 | AAA | Lc 66.6 | Content text, not long reading |
| #C7BD40 text on white | 1.94:1 | Fails | Lc 37.3 | Non-text elements, placeholder text |
| #C7BD40 text on black | 10.78:1 | AAA | Lc -65.1 | 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
#F7F6E8
oklch(97% 0.018 103.4)
-
Step 100
100
#EEECCD
oklch(93.7% 0.041 104.1)
-
Step 200
200
#E1DD9F
oklch(88.6% 0.08 104.8)
-
Step 300
300 (this color)
#C7BD40
oklch(78.4% 0.143 104.7)
-
Step 400
400
#B0A400
oklch(70.6% 0.149 104.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)
#C7BD40 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) | #CDB62E | 0.018 |
| Deuteranopia (no green cones) | #D1BC48 | 0.017 |
| Tritanopia (no blue cones) | #D5B0A4 | 0.131 |
| Achromatopsia (no color) | #BABABA | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7BD40
#C7BD40
oklch(78.4% 0.143 104.7)
- #B1AEFF
#B1AEFF
oklch(78.4% 0.114 285.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 #C7BD40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Yellow #D2BD0A ΔE 0.024
- Olive Yellow #C2B709 ΔE 0.027
- Dark Yellow #D5B60A ΔE 0.027
- Mustard #CEB301 ΔE 0.029
- Light Olive #ACBF69 ΔE 0.046
- Burnt Yellow #D5AB09 ΔE 0.046
- Dark Khaki #BDB76B ΔE 0.048
- Muddy Yellow #BFAC05 ΔE 0.048
Use #C7BD40 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.