#BAB833#BAB833
#BAB833 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.148 H 108.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB833 |
|---|---|
| RGB | rgb(186, 184, 51) |
| HSL | hsl(59, 57%, 46%) |
| HSV | hsv(59, 73%, 73%) |
| CMYK | cmyk(0%, 1.1%, 72.6%, 27.1%) |
| CIE-LAB | lab(72.87, -14.73, 63.56) |
| CIE-LCH | lch(72.87, 65.25, 103.05°) |
| OKLab | oklab(76.1% -0.0472 0.1403) |
| OKLCH | oklch(76.1% 0.148 108.6) |
| XYZ | xyz(37.9891, 44.9603, 9.8084) |
| Luminance | 0.4496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.21
Olive Yellow
#C2B709
ΔE00 3.52
Vomit Yellow
#C7C10C
ΔE00 4.07
Mustard Green
#A8B504
ΔE00 4.08
Snot
#ACBB0D
ΔE00 4.13
Bile
#B5C306
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB833 #3335BA
analogous
#BA7533 #BAB833 #79BA33
triadic
#BAB833 #33BAB8 #B833BA
tetradic
#BAB833 #33BA75 #3335BA #BA3379
square
#BAB833 #33BA75 #3335BA #BA3379
split-complementary
#BAB833 #3379BA #7533BA
monochromatic
#5A5919 #8A8826 #BAB833 #D1D059 #DFDD89
Accessibility & contrast
On white
2.10
#BAB833 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#BAB833 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB833
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB833 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB833 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B019
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#C7AC9E
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab833; /* rgb */ color: rgb(186, 184, 51); /* oklch */ color: oklch(76.1% 0.148 108.6);
Tailwind
colors: {
custom: {
50: '#d2cd74',
500: '#bab833',
950: '#000000',
},
}SCSS
$custom: #bab833; $custom-light: #d2cd74; $custom-dark: #000000;
JSON
{
"hex": "#bab833",
"rgb": {
"r": 186,
"g": 184,
"b": 51
},
"hsl": {
"h": 59.111,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.76103,
"c": 0.148,
"h": 108.6
},
"luminance": 0.44959
}Semantic roles & 50–950 ramp
primary
#BAB833
secondary
#8081C9
accent
#4AE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B