#CFB278#CFB278
#CFB278 is a light, moderate orange. Relative luminance 0.465; OKLCH L 77.6% C 0.083 H 84.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB278 |
|---|---|
| RGB | rgb(207, 178, 120) |
| HSL | hsl(40, 48%, 64%) |
| HSV | hsv(40, 42%, 81%) |
| CMYK | cmyk(0%, 14%, 42%, 18.8%) |
| CIE-LAB | lab(73.85, 2.56, 33.49) |
| CIE-LCH | lch(73.85, 33.59, 85.63°) |
| OKLab | oklab(77.55% 0.0086 0.0822) |
| OKLCH | oklch(77.55% 0.083 84.1) |
| XYZ | xyz(45.0440, 46.4642, 24.3615) |
| Luminance | 0.4646 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sandstone
#C9AE74
ΔE00 1.36
Tan (survey)
#D1B26F
ΔE00 1.85
Very Light Brown
#D3B683
ΔE00 2.05
Fawn
#CFAF7B
ΔE00 2.06
Toupe
#C7AC7D
ΔE00 3.00
Desert
#CCAD60
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB278 #7895CF
analogous
#CF8778 #CFB278 #C1CF78
triadic
#CFB278 #78CFB2 #B278CF
tetradic
#CFB278 #78CF87 #7895CF #CF78C1
square
#CFB278 #78CF87 #7895CF #CF78C1
split-complementary
#CFB278 #78C1CF #8778CF
monochromatic
#977736 #BF984B #CFB278 #DFCCA5 #EFE6D2
Accessibility & contrast
On white
2.04
#CFB278 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.29
#CFB278 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB278
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB278 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB278 | 1.00 | 2.04 | 10.29 | 10.29 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B174
Deuteranopia (green-blind)
#C7B97A
Tritanopia (blue-blind)
#DCA8A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfb278; /* rgb */ color: rgb(207, 178, 120); /* oklch */ color: oklch(77.6% 0.083 84.1);
Tailwind
colors: {
custom: {
50: '#dfc89f',
500: '#cfb278',
950: '#000000',
},
}SCSS
$custom: #cfb278; $custom-light: #dfc89f; $custom-dark: #000000;
JSON
{
"hex": "#cfb278",
"rgb": {
"r": 207,
"g": 178,
"b": 120
},
"hsl": {
"h": 40,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.77554,
"c": 0.08267,
"h": 84.1
},
"luminance": 0.46462
}Semantic roles & 50–950 ramp
primary
#CFB278
secondary
#C2CCE1
accent
#5BBB2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E