#BAB839#BAB839
#BAB839 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.144 H 108.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB839 |
|---|---|
| RGB | rgb(186, 184, 57) |
| HSL | hsl(59, 53%, 48%) |
| HSV | hsv(59, 69%, 73%) |
| CMYK | cmyk(0%, 1.1%, 69.4%, 27.1%) |
| CIE-LAB | lab(72.90, -14.44, 61.42) |
| CIE-LCH | lch(72.90, 63.09, 103.23°) |
| OKLab | oklab(76.14% -0.0457 0.1368) |
| OKLCH | oklch(76.14% 0.144 108.5) |
| XYZ | xyz(38.1301, 45.0167, 10.5506) |
| Luminance | 0.4501 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.69
Olive Yellow
#C2B709
ΔE00 3.97
Mustard Green
#A8B504
ΔE00 4.33
Snot
#ACBB0D
ΔE00 4.38
Vomit Yellow
#C7C10C
ΔE00 4.49
Bile
#B5C306
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB839 #393BBA
analogous
#BA7839 #BAB839 #7BBA39
triadic
#BAB839 #39BAB8 #B839BA
tetradic
#BAB839 #39BA78 #393BBA #BA397B
square
#BAB839 #39BA78 #393BBA #BA397B
split-complementary
#BAB839 #397BBA #7839BA
monochromatic
#5C5B1C #8B8A2B #BAB839 #CFCD61 #DDDC90
Accessibility & contrast
On white
2.10
#BAB839 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.00
#BAB839 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB839
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB839 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB839 | 1.00 | 2.10 | 10.00 | 10.00 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B125
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab839; /* rgb */ color: rgb(186, 184, 57); /* oklch */ color: oklch(76.1% 0.144 108.5);
Tailwind
colors: {
custom: {
50: '#d2cd77',
500: '#bab839',
950: '#000000',
},
}SCSS
$custom: #bab839; $custom-light: #d2cd77; $custom-dark: #000000;
JSON
{
"hex": "#bab839",
"rgb": {
"r": 186,
"g": 184,
"b": 57
},
"hsl": {
"h": 59.07,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.76144,
"c": 0.14427,
"h": 108.5
},
"luminance": 0.45015
}Semantic roles & 50–950 ramp
primary
#BAB839
secondary
#8788C8
accent
#4EDC4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B