#C2B148#C2B148
#C2B148 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.126 H 100.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B148 |
|---|---|
| RGB | rgb(194, 177, 72) |
| HSL | hsl(52, 50%, 52%) |
| HSV | hsv(52, 63%, 76%) |
| CMYK | cmyk(0%, 8.8%, 62.9%, 23.9%) |
| CIE-LAB | lab(71.81, -6.52, 54.35) |
| CIE-LCH | lch(71.81, 54.74, 96.84°) |
| OKLab | oklab(75.48% -0.0221 0.1241) |
| OKLCH | oklch(75.48% 0.126 100.1) |
| XYZ | xyz(39.1416, 43.3832, 12.4417) |
| Luminance | 0.4338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.77
Brownish Yellow
#C9B003
ΔE00 5.28
Olive Yellow
#C2B709
ΔE00 5.42
Darkkhaki
#BDB76B
ΔE00 5.70
Mustard (survey)
#CEB301
ΔE00 5.78
Desert
#CCAD60
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B148 #4859C2
analogous
#C27448 #C2B148 #96C248
triadic
#C2B148 #48C2B1 #B148C2
tetradic
#C2B148 #48C274 #4859C2 #C24896
square
#C2B148 #48C274 #4859C2 #C24896
split-complementary
#C2B148 #4896C2 #7448C2
monochromatic
#6C6224 #9A8B33 #C2B148 #D1C576 #E1D8A4
Accessibility & contrast
On white
2.17
#C2B148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#C2B148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B148
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B148 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C6B34E
Tritanopia (blue-blind)
#D0A59B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c2b148; /* rgb */ color: rgb(194, 177, 72); /* oklch */ color: oklch(75.5% 0.126 100.1);
Tailwind
colors: {
custom: {
50: '#d7c87f',
500: '#c2b148',
950: '#000000',
},
}SCSS
$custom: #c2b148; $custom-light: #d7c87f; $custom-dark: #000000;
JSON
{
"hex": "#c2b148",
"rgb": {
"r": 194,
"g": 177,
"b": 72
},
"hsl": {
"h": 51.639,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.7548,
"c": 0.12601,
"h": 100.1
},
"luminance": 0.43381
}Semantic roles & 50–950 ramp
primary
#C2B148
secondary
#98A0CE
accent
#62DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C