#C8B139#C8B139
#C8B139 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.137 H 98.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B139 |
|---|---|
| RGB | rgb(200, 177, 57) |
| HSL | hsl(50, 57%, 50%) |
| HSV | hsv(50, 72%, 78%) |
| CMYK | cmyk(0%, 11.5%, 71.5%, 21.6%) |
| CIE-LAB | lab(72.24, -4.78, 61.18) |
| CIE-LCH | lch(72.24, 61.36, 94.47°) |
| OKLab | oklab(75.91% -0.0192 0.1358) |
| OKLCH | oklch(75.91% 0.137 98.1) |
| XYZ | xyz(40.2820, 44.0211, 10.2452) |
| Luminance | 0.4402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.14
Muddy Yellow
#BFAC05
ΔE00 3.40
Mustard (survey)
#CEB301
ΔE00 3.54
Dark Yellow
#D5B60A
ΔE00 4.19
Olive Yellow
#C2B709
ΔE00 4.68
Mustard
#DBB42C
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B139 #3950C8
analogous
#C86A39 #C8B139 #97C839
triadic
#C8B139 #39C8B1 #B139C8
tetradic
#C8B139 #39C86A #3950C8 #C83997
square
#C8B139 #39C86A #3950C8 #C83997
split-complementary
#C8B139 #3997C8 #6A39C8
monochromatic
#695D1D #99872B #C8B139 #D5C469 #E3D799
Accessibility & contrast
On white
2.14
#C8B139 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#C8B139 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B139
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B139 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B139 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD26
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D8A499
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c8b139; /* rgb */ color: rgb(200, 177, 57); /* oklch */ color: oklch(75.9% 0.137 98.1);
Tailwind
colors: {
custom: {
50: '#dcc777',
500: '#c8b139',
950: '#000000',
},
}SCSS
$custom: #c8b139; $custom-light: #dcc777; $custom-dark: #000000;
JSON
{
"hex": "#c8b139",
"rgb": {
"r": 200,
"g": 177,
"b": 57
},
"hsl": {
"h": 50.35,
"s": 56.522,
"l": 50.392
},
"oklch": {
"l": 0.75911,
"c": 0.13718,
"h": 98.1
},
"luminance": 0.44019
}Semantic roles & 50–950 ramp
primary
#C8B139
secondary
#8F99CE
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B