#BABB39#BABB39
#BABB39 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.147 H 109.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BABB39 |
|---|---|
| RGB | rgb(186, 187, 57) |
| HSL | hsl(60, 53%, 48%) |
| HSV | hsv(60, 70%, 73%) |
| CMYK | cmyk(0.5%, 0%, 69.5%, 26.7%) |
| CIE-LAB | lab(73.72, -15.96, 62.23) |
| CIE-LCH | lch(73.72, 64.24, 104.39°) |
| OKLab | oklab(76.8% -0.05 0.1385) |
| OKLCH | oklch(76.8% 0.147 109.9) |
| XYZ | xyz(38.7599, 46.2763, 10.7606) |
| Luminance | 0.4627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.55
Snot
#ACBB0D
ΔE00 3.75
Mustard Green
#A8B504
ΔE00 4.04
Bile
#B5C306
ΔE00 4.17
Baby Puke Green
#B6C406
ΔE00 4.30
Vomit Yellow
#C7C10C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABB39 #3A39BB
analogous
#BB7B39 #BABB39 #79BB39
triadic
#BABB39 #39BABB #BB39BA
tetradic
#BABB39 #39BB7B #3A39BB #BB3979
square
#BABB39 #39BB7B #3A39BB #BB3979
split-complementary
#BABB39 #3979BB #7B39BB
monochromatic
#5D5D1C #8B8C2B #BABB39 #CECF62 #DDDD91
Accessibility & contrast
On white
2.05
#BABB39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#BABB39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABB39
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABB39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABB39 | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #babb39; /* rgb */ color: rgb(186, 187, 57); /* oklch */ color: oklch(76.8% 0.147 109.9);
Tailwind
colors: {
custom: {
50: '#d2cf78',
500: '#babb39',
950: '#000000',
},
}SCSS
$custom: #babb39; $custom-light: #d2cf78; $custom-dark: #000000;
JSON
{
"hex": "#babb39",
"rgb": {
"r": 186,
"g": 187,
"b": 57
},
"hsl": {
"h": 60.462,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.768,
"c": 0.14728,
"h": 109.9
},
"luminance": 0.46275
}Semantic roles & 50–950 ramp
primary
#BABB39
secondary
#8887C8
accent
#4BDD4C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B