#BAB735#BAB735
#BAB735 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.146 H 108.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB735 |
|---|---|
| RGB | rgb(186, 183, 53) |
| HSL | hsl(59, 56%, 47%) |
| HSV | hsv(59, 72%, 73%) |
| CMYK | cmyk(0%, 1.6%, 71.5%, 27.1%) |
| CIE-LAB | lab(72.60, -14.13, 62.60) |
| CIE-LCH | lch(72.60, 64.18, 102.72°) |
| OKLab | oklab(75.9% -0.0453 0.1386) |
| OKLCH | oklch(75.9% 0.146 108.1) |
| XYZ | xyz(37.8272, 44.5643, 9.9767) |
| Luminance | 0.4456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.48
Olive Yellow
#C2B709
ΔE00 3.55
Mustard Green
#A8B504
ΔE00 4.30
Vomit Yellow
#C7C10C
ΔE00 4.31
Snot
#ACBB0D
ΔE00 4.45
Bile
#B5C306
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB735 #3538BA
analogous
#BA7535 #BAB735 #7ABA35
triadic
#BAB735 #35BAB7 #B735BA
tetradic
#BAB735 #35BA75 #3538BA #BA357A
square
#BAB735 #35BA75 #3538BA #BA357A
split-complementary
#BAB735 #357ABA #7535BA
monochromatic
#5B591A #8A8827 #BAB735 #D0CE5C #DEDC8B
Accessibility & contrast
On white
2.12
#BAB735 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#BAB735 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB735
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB735 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB735 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B01E
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab735; /* rgb */ color: rgb(186, 183, 53); /* oklch */ color: oklch(75.9% 0.146 108.1);
Tailwind
colors: {
custom: {
50: '#d2cc75',
500: '#bab735',
950: '#000000',
},
}SCSS
$custom: #bab735; $custom-light: #d2cc75; $custom-dark: #000000;
JSON
{
"hex": "#bab735",
"rgb": {
"r": 186,
"g": 183,
"b": 53
},
"hsl": {
"h": 58.647,
"s": 55.649,
"l": 46.863
},
"oklch": {
"l": 0.75898,
"c": 0.14582,
"h": 108.1
},
"luminance": 0.44563
}Semantic roles & 50–950 ramp
primary
#BAB735
secondary
#8284C8
accent
#4CDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B