#C2B45F#C2B45F
#C2B45F is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.108 H 100.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B45F |
|---|---|
| RGB | rgb(194, 180, 95) |
| HSL | hsl(52, 45%, 57%) |
| HSV | hsv(52, 51%, 76%) |
| CMYK | cmyk(0%, 7.2%, 51%, 23.9%) |
| CIE-LAB | lab(72.85, -6.31, 44.75) |
| CIE-LCH | lch(72.85, 45.19, 98.03°) |
| OKLab | oklab(76.38% -0.0189 0.106) |
| OKLCH | oklch(76.38% 0.108 100.1) |
| XYZ | xyz(40.6362, 44.9395, 17.3579) |
| Luminance | 0.4494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.91
Desert
#CCAD60
ΔE00 5.63
Khaki (survey)
#AAA662
ΔE00 6.06
Tan (survey)
#D1B26F
ΔE00 6.60
Sandy Brown
#C4A661
ΔE00 6.72
Sand (survey)
#E2CA76
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B45F #5F6DC2
analogous
#C2835F #C2B45F #9FC25F
triadic
#C2B45F #5FC2B4 #B45FC2
tetradic
#C2B45F #5FC283 #5F6DC2 #C25F9F
square
#C2B45F #5FC283 #5F6DC2 #C25F9F
split-complementary
#C2B45F #5F9FC2 #835FC2
monochromatic
#796E2E #A5963F #C2B45F #D3C98B #E4DEB8
Accessibility & contrast
On white
2.10
#C2B45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#C2B45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B45F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B45F | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B057
Deuteranopia (green-blind)
#C6B563
Tritanopia (blue-blind)
#CFAAA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b45f; /* rgb */ color: rgb(194, 180, 95); /* oklch */ color: oklch(76.4% 0.108 100.1);
Tailwind
colors: {
custom: {
50: '#d6ca8e',
500: '#c2b45f',
950: '#000000',
},
}SCSS
$custom: #c2b45f; $custom-light: #d6ca8e; $custom-dark: #000000;
JSON
{
"hex": "#c2b45f",
"rgb": {
"r": 194,
"g": 180,
"b": 95
},
"hsl": {
"h": 51.515,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.7638,
"c": 0.10771,
"h": 100.1
},
"luminance": 0.44938
}Semantic roles & 50–950 ramp
primary
#C2B45F
secondary
#AAB0D3
accent
#66D453
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130C
muted
#83827D