#C8B539#C8B539
#C8B539 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.8% C 0.140 H 100.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B539 |
|---|---|
| RGB | rgb(200, 181, 57) |
| HSL | hsl(52, 57%, 50%) |
| HSV | hsv(52, 72%, 78%) |
| CMYK | cmyk(0%, 9.5%, 71.5%, 21.6%) |
| CIE-LAB | lab(73.30, -6.87, 62.22) |
| CIE-LCH | lch(73.30, 62.59, 96.30°) |
| OKLab | oklab(76.75% -0.0252 0.138) |
| OKLCH | oklch(76.75% 0.14 100.3) |
| XYZ | xyz(41.0837, 45.6244, 10.5125) |
| Luminance | 0.4562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.39
Muddy Yellow
#BFAC05
ΔE00 3.51
Olive Yellow
#C2B709
ΔE00 3.57
Mustard (survey)
#CEB301
ΔE00 3.67
Mustard Yellow
#D2BD0A
ΔE00 4.05
Dark Yellow
#D5B60A
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B539 #394CC8
analogous
#C86D39 #C8B539 #93C839
triadic
#C8B539 #39C8B5 #B539C8
tetradic
#C8B539 #39C86D #394CC8 #C83993
square
#C8B539 #39C86D #394CC8 #C83993
split-complementary
#C8B539 #3993C8 #6D39C8
monochromatic
#695F1D #998B2B #C8B539 #D5C769 #E3D999
Accessibility & contrast
On white
2.07
#C8B539 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#C8B539 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B539
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B539 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B539 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#D7A89C
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #c8b539; /* rgb */ color: rgb(200, 181, 57); /* oklch */ color: oklch(76.8% 0.140 100.3);
Tailwind
colors: {
custom: {
50: '#dcca77',
500: '#c8b539',
950: '#000000',
},
}SCSS
$custom: #c8b539; $custom-light: #dcca77; $custom-dark: #000000;
JSON
{
"hex": "#c8b539",
"rgb": {
"r": 200,
"g": 181,
"b": 57
},
"hsl": {
"h": 52.028,
"s": 56.522,
"l": 50.392
},
"oklch": {
"l": 0.76751,
"c": 0.1403,
"h": 100.3
},
"luminance": 0.45623
}Semantic roles & 50–950 ramp
primary
#C8B539
secondary
#8F97CE
accent
#5CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B