#CBB157#CBB157
#CBB157 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.114 H 93.4°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB157 |
|---|---|
| RGB | rgb(203, 177, 87) |
| HSL | hsl(47, 53%, 57%) |
| HSV | hsv(47, 57%, 80%) |
| CMYK | cmyk(0%, 12.8%, 57.1%, 20.4%) |
| CIE-LAB | lab(72.78, -1.62, 48.75) |
| CIE-LCH | lch(72.78, 48.78, 91.90°) |
| OKLab | oklab(76.49% -0.0068 0.1138) |
| OKLCH | oklch(76.49% 0.114 93.4) |
| XYZ | xyz(42.0728, 44.8309, 15.4521) |
| Luminance | 0.4483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.96
Tan (survey)
#D1B26F
ΔE00 4.71
Sandy Brown
#C4A661
ΔE00 4.85
Sandstone
#C9AE74
ΔE00 6.00
Mustard
#DBB42C
ΔE00 6.00
Sand Brown
#CBA560
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB157 #5771CB
analogous
#CB7757 #CBB157 #ABCB57
triadic
#CBB157 #57CBB1 #B157CB
tetradic
#CBB157 #57CB77 #5771CB #CB57AB
square
#CBB157 #57CB77 #5771CB #CB57AB
split-complementary
#CBB157 #57ABCB #7757CB
monochromatic
#806C28 #AF9436 #CBB157 #D9C786 #E8DCB4
Accessibility & contrast
On white
2.11
#CBB157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#CBB157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB157
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB157 | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#DAA59D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cbb157; /* rgb */ color: rgb(203, 177, 87); /* oklch */ color: oklch(76.5% 0.114 93.4);
Tailwind
colors: {
custom: {
50: '#ddc889',
500: '#cbb157',
950: '#000000',
},
}SCSS
$custom: #cbb157; $custom-light: #ddc889; $custom-dark: #000000;
JSON
{
"hex": "#cbb157",
"rgb": {
"r": 203,
"g": 177,
"b": 87
},
"hsl": {
"h": 46.552,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.76486,
"c": 0.11399,
"h": 93.4
},
"luminance": 0.44829
}Semantic roles & 50–950 ramp
primary
#CBB157
secondary
#A7B2D7
accent
#6CDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D