#CFA23B#CFA23B
#CFA23B is a light, vivid orange. Relative luminance 0.394; OKLCH L 73.6% C 0.129 H 84.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA23B |
|---|---|
| RGB | rgb(207, 162, 59) |
| HSL | hsl(42, 61%, 52%) |
| HSV | hsv(42, 71%, 81%) |
| CMYK | cmyk(0%, 21.7%, 71.5%, 18.8%) |
| CIE-LAB | lab(69.06, 6.32, 57.42) |
| CIE-LCH | lch(69.06, 57.77, 83.72°) |
| OKLab | oklab(73.56% 0.0124 0.128) |
| OKLCH | oklch(73.56% 0.129 84.5) |
| XYZ | xyz(39.4443, 39.4245, 9.6690) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 3.33
Yellow Ochre
#CB9D06
ΔE00 3.75
Ocre
#C69C04
ΔE00 4.30
Camel (survey)
#C69F59
ΔE00 5.10
Ocher
#BF9B0C
ΔE00 5.20
Sand Brown
#CBA560
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA23B #3B68CF
analogous
#CF583B #CFA23B #B2CF3B
triadic
#CFA23B #3BCFA2 #A23BCF
tetradic
#CFA23B #3BCF58 #3B68CF #CF3BB2
square
#CFA23B #3BCF58 #3B68CF #CF3BB2
split-complementary
#CFA23B #3BB2CF #583BCF
monochromatic
#73591C #A57F28 #CFA23B #DBB96C #E7D19D
Accessibility & contrast
On white
2.36
#CFA23B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#CFA23B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA23B
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA23B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA23B | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A22D
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#E0938D
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cfa23b; /* rgb */ color: rgb(207, 162, 59); /* oklch */ color: oklch(73.6% 0.129 84.5);
Tailwind
colors: {
custom: {
50: '#e2bd77',
500: '#cfa23b',
950: '#000000',
},
}SCSS
$custom: #cfa23b; $custom-light: #e2bd77; $custom-dark: #000000;
JSON
{
"hex": "#cfa23b",
"rgb": {
"r": 207,
"g": 162,
"b": 59
},
"hsl": {
"h": 41.757,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.73561,
"c": 0.12857,
"h": 84.5
},
"luminance": 0.39422
}Semantic roles & 50–950 ramp
primary
#CFA23B
secondary
#93A6D3
accent
#75E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B