#BAB74E#BAB74E
#BAB74E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.127 H 107.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB74E |
|---|---|
| RGB | rgb(186, 183, 78) |
| HSL | hsl(58, 44%, 52%) |
| HSV | hsv(58, 58%, 73%) |
| CMYK | cmyk(0%, 1.6%, 58.1%, 27.1%) |
| CIE-LAB | lab(72.80, -12.61, 52.56) |
| CIE-LCH | lch(72.80, 54.05, 103.49°) |
| OKLab | oklab(76.11% -0.0383 0.1212) |
| OKLCH | oklch(76.11% 0.127 107.5) |
| XYZ | xyz(38.5595, 44.8573, 13.8334) |
| Luminance | 0.4486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.46
Puke Yellow
#C2BE0E
ΔE00 5.99
Olive Yellow
#C2B709
ΔE00 6.00
Mustard Green
#A8B504
ΔE00 6.09
Snot
#ACBB0D
ΔE00 6.20
Vomit Yellow
#C7C10C
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB74E #4E51BA
analogous
#BA814E #BAB74E #87BA4E
triadic
#BAB74E #4EBAB7 #B74EBA
tetradic
#BAB74E #4EBA81 #4E51BA #BA4E87
square
#BAB74E #4EBA81 #4E51BA #BA4E87
split-complementary
#BAB74E #4E87BA #814EBA
monochromatic
#666428 #928F39 #BAB74E #CBC97A #DCDBA6
Accessibility & contrast
On white
2.11
#BAB74E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#BAB74E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB74E
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB74E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB74E | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B043
Deuteranopia (green-blind)
#C7B554
Tritanopia (blue-blind)
#C6ACA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab74e; /* rgb */ color: rgb(186, 183, 78); /* oklch */ color: oklch(76.1% 0.127 107.5);
Tailwind
colors: {
custom: {
50: '#d1cc83',
500: '#bab74e',
950: '#000000',
},
}SCSS
$custom: #bab74e; $custom-light: #d1cc83; $custom-dark: #000000;
JSON
{
"hex": "#bab74e",
"rgb": {
"r": 186,
"g": 183,
"b": 78
},
"hsl": {
"h": 58.333,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.76114,
"c": 0.12715,
"h": 107.5
},
"luminance": 0.44856
}Semantic roles & 50–950 ramp
primary
#BAB74E
secondary
#9A9CCA
accent
#58D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C