#C7B426#C7B426
#C7B426 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.150 H 101.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C7B426 |
|---|---|
| RGB | rgb(199, 180, 38) |
| HSL | hsl(53, 68%, 46%) |
| HSV | hsv(53, 81%, 78%) |
| CMYK | cmyk(0%, 9.5%, 80.9%, 22%) |
| CIE-LAB | lab(72.84, -7.55, 68.08) |
| CIE-LCH | lch(72.84, 68.50, 96.32°) |
| OKLab | oklab(76.33% -0.0288 0.147) |
| OKLCH | oklch(76.33% 0.15 101.1) |
| XYZ | xyz(40.2263, 44.9265, 8.3862) |
| Luminance | 0.4492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.22
Muddy Yellow
#BFAC05
ΔE00 2.42
Olive Yellow
#C2B709
ΔE00 2.51
Mustard (survey)
#CEB301
ΔE00 2.61
Mustard Yellow
#D2BD0A
ΔE00 3.14
Dark Yellow
#D5B60A
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7B426 #2639C7
analogous
#C76426 #C7B426 #8AC726
triadic
#C7B426 #26C7B4 #B426C7
tetradic
#C7B426 #26C764 #2639C7 #C7268A
square
#C7B426 #26C764 #2639C7 #C7268A
split-complementary
#C7B426 #268AC7 #6426C7
monochromatic
#605712 #94861C #C7B426 #DDCC4D #E7DB81
Accessibility & contrast
On white
2.10
#C7B426 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#C7B426 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7B426
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7B426 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7B426 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#D7A69A
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c7b426; /* rgb */ color: rgb(199, 180, 38); /* oklch */ color: oklch(76.3% 0.150 101.1);
Tailwind
colors: {
custom: {
50: '#dcca6e',
500: '#c7b426',
950: '#000000',
},
}SCSS
$custom: #c7b426; $custom-light: #dcca6e; $custom-dark: #000000;
JSON
{
"hex": "#c7b426",
"rgb": {
"r": 199,
"g": 180,
"b": 38
},
"hsl": {
"h": 52.919,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.76334,
"c": 0.14976,
"h": 101.1
},
"luminance": 0.44925
}Semantic roles & 50–950 ramp
primary
#C7B426
secondary
#7983CF
accent
#52EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B