#CFA238#CFA238
#CFA238 is a light, vivid orange. Relative luminance 0.394; OKLCH L 73.5% C 0.130 H 84.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA238 |
|---|---|
| RGB | rgb(207, 162, 56) |
| HSL | hsl(42, 61%, 52%) |
| HSV | hsv(42, 73%, 81%) |
| CMYK | cmyk(0%, 21.7%, 72.9%, 18.8%) |
| CIE-LAB | lab(69.04, 6.18, 58.63) |
| CIE-LCH | lch(69.04, 58.95, 83.98°) |
| OKLab | oklab(73.54% 0.0116 0.13) |
| OKLCH | oklch(73.54% 0.13 84.9) |
| XYZ | xyz(39.3687, 39.3943, 9.2709) |
| Luminance | 0.3939 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 3.09
Yellow Ochre
#CB9D06
ΔE00 3.41
Ocre
#C69C04
ΔE00 3.97
Ocher
#BF9B0C
ΔE00 4.93
Burnt Yellow
#D5AB09
ΔE00 5.07
Camel (survey)
#C69F59
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA238 #3865CF
analogous
#CF5738 #CFA238 #B1CF38
triadic
#CFA238 #38CFA2 #A238CF
tetradic
#CFA238 #38CF57 #3865CF #CF38B1
square
#CFA238 #38CF57 #3865CF #CF38B1
split-complementary
#CFA238 #38B1CF #5738CF
monochromatic
#71581B #A37E27 #CFA238 #DBB969 #E7D09B
Accessibility & contrast
On white
2.37
#CFA238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#CFA238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA238
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA238 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 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)
#B6A229
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#E0938D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #cfa238; /* rgb */ color: rgb(207, 162, 56); /* oklch */ color: oklch(73.5% 0.130 84.9);
Tailwind
colors: {
custom: {
50: '#e2bd75',
500: '#cfa238',
950: '#000000',
},
}SCSS
$custom: #cfa238; $custom-light: #e2bd75; $custom-dark: #000000;
JSON
{
"hex": "#cfa238",
"rgb": {
"r": 207,
"g": 162,
"b": 56
},
"hsl": {
"h": 42.119,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.73537,
"c": 0.13047,
"h": 84.9
},
"luminance": 0.39392
}Semantic roles & 50–950 ramp
primary
#CFA238
secondary
#90A4D3
accent
#73E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B