#CFA23A#CFA23A
#CFA23A is a light, vivid orange. Relative luminance 0.394; OKLCH L 73.6% C 0.129 H 84.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA23A |
|---|---|
| RGB | rgb(207, 162, 58) |
| HSL | hsl(42, 61%, 52%) |
| HSV | hsv(42, 72%, 81%) |
| CMYK | cmyk(0%, 21.7%, 72%, 18.8%) |
| CIE-LAB | lab(69.05, 6.27, 57.83) |
| CIE-LCH | lch(69.05, 58.17, 83.81°) |
| OKLab | oklab(73.55% 0.0122 0.1286) |
| OKLCH | oklch(73.55% 0.129 84.6) |
| XYZ | xyz(39.4186, 39.4143, 9.5337) |
| Luminance | 0.3941 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 3.24
Yellow Ochre
#CB9D06
ΔE00 3.63
Ocre
#C69C04
ΔE00 4.18
Ocher
#BF9B0C
ΔE00 5.11
Camel (survey)
#C69F59
ΔE00 5.22
Burnt Yellow
#D5AB09
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA23A #3A67CF
analogous
#CF583A #CFA23A #B2CF3A
triadic
#CFA23A #3ACFA2 #A23ACF
tetradic
#CFA23A #3ACF58 #3A67CF #CF3AB2
square
#CFA23A #3ACF58 #3A67CF #CF3AB2
split-complementary
#CFA23A #3AB2CF #583ACF
monochromatic
#73581C #A47E28 #CFA23A #DBB96B #E7D09C
Accessibility & contrast
On white
2.36
#CFA23A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#CFA23A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA23A
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA23A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA23A | 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)
#B6A22C
Deuteranopia (green-blind)
#C1AD3F
Tritanopia (blue-blind)
#E0938D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #cfa23a; /* rgb */ color: rgb(207, 162, 58); /* oklch */ color: oklch(73.6% 0.129 84.6);
Tailwind
colors: {
custom: {
50: '#e2bd76',
500: '#cfa23a',
950: '#000000',
},
}SCSS
$custom: #cfa23a; $custom-light: #e2bd76; $custom-dark: #000000;
JSON
{
"hex": "#cfa23a",
"rgb": {
"r": 207,
"g": 162,
"b": 58
},
"hsl": {
"h": 41.879,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.73553,
"c": 0.12921,
"h": 84.6
},
"luminance": 0.39412
}Semantic roles & 50–950 ramp
primary
#CFA23A
secondary
#92A5D3
accent
#74E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B