#CFA338#CFA338
#CFA338 is a light, vivid orange. Relative luminance 0.397; OKLCH L 73.7% C 0.131 H 85.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA338 |
|---|---|
| RGB | rgb(207, 163, 56) |
| HSL | hsl(43, 61%, 52%) |
| HSV | hsv(43, 73%, 81%) |
| CMYK | cmyk(0%, 21.3%, 72.9%, 18.8%) |
| CIE-LAB | lab(69.29, 5.64, 58.88) |
| CIE-LCH | lch(69.29, 59.15, 84.53°) |
| OKLab | oklab(73.74% 0.0101 0.1305) |
| OKLCH | oklch(73.74% 0.131 85.6) |
| XYZ | xyz(39.5455, 39.7480, 9.3299) |
| Luminance | 0.3975 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 3.08
Yellow Ochre
#CB9D06
ΔE00 3.37
Ocre
#C69C04
ΔE00 3.88
Burnt Yellow
#D5AB09
ΔE00 4.74
Ocher
#BF9B0C
ΔE00 4.79
Desert
#CCAD60
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA338 #3864CF
analogous
#CF5838 #CFA338 #AFCF38
triadic
#CFA338 #38CFA3 #A338CF
tetradic
#CFA338 #38CF58 #3864CF #CF38AF
square
#CFA338 #38CF58 #3864CF #CF38AF
split-complementary
#CFA338 #38AFCF #5838CF
monochromatic
#71581B #A37F27 #CFA338 #DBBA69 #E7D19B
Accessibility & contrast
On white
2.35
#CFA338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#CFA338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA338
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA338 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cfa338; /* rgb */ color: rgb(207, 163, 56); /* oklch */ color: oklch(73.7% 0.131 85.6);
Tailwind
colors: {
custom: {
50: '#e2bd75',
500: '#cfa338',
950: '#000000',
},
}SCSS
$custom: #cfa338; $custom-light: #e2bd75; $custom-dark: #000000;
JSON
{
"hex": "#cfa338",
"rgb": {
"r": 207,
"g": 163,
"b": 56
},
"hsl": {
"h": 42.517,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.73736,
"c": 0.13088,
"h": 85.6
},
"luminance": 0.39745
}Semantic roles & 50–950 ramp
primary
#CFA338
secondary
#90A4D3
accent
#72E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B