#BAB635#BAB635
#BAB635 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.145 H 107.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB635 |
|---|---|
| RGB | rgb(186, 182, 53) |
| HSL | hsl(58, 56%, 47%) |
| HSV | hsv(58, 72%, 73%) |
| CMYK | cmyk(0%, 2.2%, 71.5%, 27.1%) |
| CIE-LAB | lab(72.33, -13.62, 62.34) |
| CIE-LCH | lch(72.33, 63.81, 102.33°) |
| OKLab | oklab(75.68% -0.0438 0.1381) |
| OKLCH | oklch(75.68% 0.145 107.6) |
| XYZ | xyz(37.6217, 44.1533, 9.9082) |
| Luminance | 0.4415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.48
Puke Yellow
#C2BE0E
ΔE00 3.62
Vomit Yellow
#C7C10C
ΔE00 4.45
Mustard Green
#A8B504
ΔE00 4.48
Snot
#ACBB0D
ΔE00 4.72
Muddy Yellow
#BFAC05
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB635 #3539BA
analogous
#BA7335 #BAB635 #7CBA35
triadic
#BAB635 #35BAB6 #B635BA
tetradic
#BAB635 #35BA73 #3539BA #BA357C
square
#BAB635 #35BA73 #3539BA #BA357C
split-complementary
#BAB635 #357CBA #7335BA
monochromatic
#5B591A #8A8727 #BAB635 #D0CD5C #DEDC8B
Accessibility & contrast
On white
2.14
#BAB635 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#BAB635 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB635
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB635 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB635 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF1E
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bab635; /* rgb */ color: rgb(186, 182, 53); /* oklch */ color: oklch(75.7% 0.145 107.6);
Tailwind
colors: {
custom: {
50: '#d2cb75',
500: '#bab635',
950: '#000000',
},
}SCSS
$custom: #bab635; $custom-light: #d2cb75; $custom-dark: #000000;
JSON
{
"hex": "#bab635",
"rgb": {
"r": 186,
"g": 182,
"b": 53
},
"hsl": {
"h": 58.195,
"s": 55.649,
"l": 46.863
},
"oklch": {
"l": 0.7568,
"c": 0.14485,
"h": 107.6
},
"luminance": 0.44152
}Semantic roles & 50–950 ramp
primary
#BAB635
secondary
#8285C8
accent
#4DDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B