#CFA252#CFA252
#CFA252 is a light, moderate orange. Relative luminance 0.397; OKLCH L 73.8% C 0.111 H 80.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA252 |
|---|---|
| RGB | rgb(207, 162, 82) |
| HSL | hsl(38, 57%, 57%) |
| HSV | hsv(38, 60%, 81%) |
| CMYK | cmyk(0%, 21.7%, 60.4%, 18.8%) |
| CIE-LAB | lab(69.27, 7.71, 47.21) |
| CIE-LCH | lch(69.27, 47.83, 80.72°) |
| OKLab | oklab(73.79% 0.0194 0.1098) |
| OKLCH | oklch(73.79% 0.111 80) |
| XYZ | xyz(40.1776, 39.7179, 13.5312) |
| Luminance | 0.3972 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Camel (survey)
#C69F59
ΔE00 2.36
Sand Brown
#CBA560
ΔE00 2.44
Sandy Brown
#C4A661
ΔE00 4.40
Desert
#CCAD60
ΔE00 4.75
Tan (survey)
#D1B26F
ΔE00 5.67
Goldenrod
#DAA520
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA252 #527FCF
analogous
#CF6452 #CFA252 #BECF52
triadic
#CFA252 #52CFA2 #A252CF
tetradic
#CFA252 #52CF64 #527FCF #CF52BE
square
#CFA252 #52CF64 #527FCF #CF52BE
split-complementary
#CFA252 #52BECF #6452CF
monochromatic
#826024 #B28431 #CFA252 #DCBC82 #EAD6B2
Accessibility & contrast
On white
2.35
#CFA252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#CFA252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA252
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA252 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A34A
Deuteranopia (green-blind)
#BFAE55
Tritanopia (blue-blind)
#DF9590
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #cfa252; /* rgb */ color: rgb(207, 162, 82); /* oklch */ color: oklch(73.8% 0.111 80.0);
Tailwind
colors: {
custom: {
50: '#e1bd85',
500: '#cfa252',
950: '#000000',
},
}SCSS
$custom: #cfa252; $custom-light: #e1bd85; $custom-dark: #000000;
JSON
{
"hex": "#cfa252",
"rgb": {
"r": 207,
"g": 162,
"b": 82
},
"hsl": {
"h": 38.4,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.73794,
"c": 0.11148,
"h": 80
},
"luminance": 0.39715
}Semantic roles & 50–950 ramp
primary
#CFA252
secondary
#A5B7D8
accent
#7FE048
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C