#CFB25A#CFB25A
#CFB25A is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.113 H 91.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB25A |
|---|---|
| RGB | rgb(207, 178, 90) |
| HSL | hsl(45, 55%, 58%) |
| HSV | hsv(45, 57%, 81%) |
| CMYK | cmyk(0%, 14%, 56.5%, 18.8%) |
| CIE-LAB | lab(73.45, -0.22, 48.18) |
| CIE-LCH | lch(73.45, 48.18, 90.27°) |
| OKLab | oklab(77.11% -0.0027 0.1128) |
| OKLCH | oklch(77.11% 0.113 91.4) |
| XYZ | xyz(43.4998, 45.8465, 16.2289) |
| Luminance | 0.4584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.37
Tan (survey)
#D1B26F
ΔE00 3.97
Sandy Brown
#C4A661
ΔE00 4.60
Sandstone
#C9AE74
ΔE00 5.57
Sand Brown
#CBA560
ΔE00 5.74
Mustard
#DBB42C
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB25A #5A77CF
analogous
#CF775A #CFB25A #B2CF5A
triadic
#CFB25A #5ACFB2 #B25ACF
tetradic
#CFB25A #5ACF77 #5A77CF #CF5AB2
square
#CFB25A #5ACF77 #5A77CF #CF5AB2
split-complementary
#CFB25A #5AB2CF #775ACF
monochromatic
#876F27 #B79735 #CFB25A #DDC889 #EBDEB9
Accessibility & contrast
On white
2.07
#CFB25A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#CFB25A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB25A
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB25A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB25A | 1.00 | 2.07 | 10.17 | 10.17 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B052
Deuteranopia (green-blind)
#CAB85E
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb25a; /* rgb */ color: rgb(207, 178, 90); /* oklch */ color: oklch(77.1% 0.113 91.4);
Tailwind
colors: {
custom: {
50: '#e0c88b',
500: '#cfb25a',
950: '#000000',
},
}SCSS
$custom: #cfb25a; $custom-light: #e0c88b; $custom-dark: #000000;
JSON
{
"hex": "#cfb25a",
"rgb": {
"r": 207,
"g": 178,
"b": 90
},
"hsl": {
"h": 45.128,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.77109,
"c": 0.11282,
"h": 91.4
},
"luminance": 0.45844
}Semantic roles & 50–950 ramp
primary
#CFB25A
secondary
#ABB7DA
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D