#C2B752#C2B752
#C2B752 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.9% C 0.123 H 103.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B752 |
|---|---|
| RGB | rgb(194, 183, 82) |
| HSL | hsl(54, 48%, 54%) |
| HSV | hsv(54, 58%, 76%) |
| CMYK | cmyk(0%, 5.7%, 57.7%, 23.9%) |
| CIE-LAB | lab(73.51, -8.94, 51.72) |
| CIE-LCH | lch(73.51, 52.48, 99.81°) |
| OKLab | oklab(76.86% -0.0279 0.1198) |
| OKLCH | oklch(76.86% 0.123 103.1) |
| XYZ | xyz(40.7060, 45.9470, 14.7054) |
| Luminance | 0.4595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.23
Olive Yellow
#C2B709
ΔE00 5.78
Puke Yellow
#C2BE0E
ΔE00 6.30
Muddy Yellow
#BFAC05
ΔE00 6.34
Vomit Yellow
#C7C10C
ΔE00 6.71
Brownish Yellow
#C9B003
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B752 #525DC2
analogous
#C27F52 #C2B752 #95C252
triadic
#C2B752 #52C2B7 #B752C2
tetradic
#C2B752 #52C27F #525DC2 #C25295
square
#C2B752 #52C27F #525DC2 #C25295
split-complementary
#C2B752 #5295C2 #7F52C2
monochromatic
#726A28 #9F9538 #C2B752 #D2CA7F #E2DDAC
Accessibility & contrast
On white
2.06
#C2B752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#C2B752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B752
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B752 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#C9B757
Tritanopia (blue-blind)
#CFACA1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #c2b752; /* rgb */ color: rgb(194, 183, 82); /* oklch */ color: oklch(76.9% 0.123 103.1);
Tailwind
colors: {
custom: {
50: '#d7cc86',
500: '#c2b752',
950: '#000000',
},
}SCSS
$custom: #c2b752; $custom-light: #d7cc86; $custom-dark: #000000;
JSON
{
"hex": "#c2b752",
"rgb": {
"r": 194,
"g": 183,
"b": 82
},
"hsl": {
"h": 54.107,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.76857,
"c": 0.12297,
"h": 103.1
},
"luminance": 0.45946
}Semantic roles & 50–950 ramp
primary
#C2B752
secondary
#A0A5D0
accent
#5ED750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C