#BAB739#BAB739
#BAB739 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.143 H 108.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB739 |
|---|---|
| RGB | rgb(186, 183, 57) |
| HSL | hsl(59, 53%, 48%) |
| HSV | hsv(59, 69%, 73%) |
| CMYK | cmyk(0%, 1.6%, 69.4%, 27.1%) |
| CIE-LAB | lab(72.63, -13.93, 61.15) |
| CIE-LCH | lch(72.63, 62.71, 102.83°) |
| OKLab | oklab(75.93% -0.0443 0.1363) |
| OKLCH | oklch(75.93% 0.143 108) |
| XYZ | xyz(37.9231, 44.6027, 10.4816) |
| Luminance | 0.4460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.80
Olive Yellow
#C2B709
ΔE00 3.87
Mustard Green
#A8B504
ΔE00 4.48
Vomit Yellow
#C7C10C
ΔE00 4.60
Snot
#ACBB0D
ΔE00 4.63
Bile
#B5C306
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB739 #393CBA
analogous
#BA7739 #BAB739 #7CBA39
triadic
#BAB739 #39BAB7 #B739BA
tetradic
#BAB739 #39BA77 #393CBA #BA397C
square
#BAB739 #39BA77 #393CBA #BA397C
split-complementary
#BAB739 #397CBA #7739BA
monochromatic
#5C5B1C #8B892B #BAB739 #CFCC61 #DDDB90
Accessibility & contrast
On white
2.12
#BAB739 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#BAB739 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB739
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB739 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB739 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab739; /* rgb */ color: rgb(186, 183, 57); /* oklch */ color: oklch(75.9% 0.143 108.0);
Tailwind
colors: {
custom: {
50: '#d2cc77',
500: '#bab739',
950: '#000000',
},
}SCSS
$custom: #bab739; $custom-light: #d2cc77; $custom-dark: #000000;
JSON
{
"hex": "#bab739",
"rgb": {
"r": 186,
"g": 183,
"b": 57
},
"hsl": {
"h": 58.605,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.75926,
"c": 0.14328,
"h": 108
},
"luminance": 0.44601
}Semantic roles & 50–950 ramp
primary
#BAB739
secondary
#8788C8
accent
#4FDC4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B