#BAB63E#BAB63E
#BAB63E is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.139 H 107.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB63E |
|---|---|
| RGB | rgb(186, 182, 62) |
| HSL | hsl(58, 50%, 49%) |
| HSV | hsv(58, 67%, 73%) |
| CMYK | cmyk(0%, 2.2%, 66.7%, 27.1%) |
| CIE-LAB | lab(72.39, -13.14, 58.96) |
| CIE-LCH | lch(72.39, 60.41, 102.57°) |
| OKLab | oklab(75.75% -0.0416 0.1325) |
| OKLCH | oklch(75.75% 0.139 107.4) |
| XYZ | xyz(37.8485, 44.2440, 11.1027) |
| Luminance | 0.4424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.25
Puke Yellow
#C2BE0E
ΔE00 4.38
Mustard Green
#A8B504
ΔE00 4.93
Vomit Yellow
#C7C10C
ΔE00 5.14
Snot
#ACBB0D
ΔE00 5.15
Muddy Yellow
#BFAC05
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB63E #3E42BA
analogous
#BA783E #BAB63E #80BA3E
triadic
#BAB63E #3EBAB6 #B63EBA
tetradic
#BAB63E #3EBA78 #3E42BA #BA3E80
square
#BAB63E #3EBA78 #3E42BA #BA3E80
split-complementary
#BAB63E #3E80BA #783EBA
monochromatic
#5E5C1F #8C892F #BAB63E #CDCA68 #DCDA96
Accessibility & contrast
On white
2.13
#BAB63E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#BAB63E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB63E
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB63E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB63E | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF2D
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#C7AA9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab63e; /* rgb */ color: rgb(186, 182, 62); /* oklch */ color: oklch(75.7% 0.139 107.4);
Tailwind
colors: {
custom: {
50: '#d2cb7a',
500: '#bab63e',
950: '#000000',
},
}SCSS
$custom: #bab63e; $custom-light: #d2cb7a; $custom-dark: #000000;
JSON
{
"hex": "#bab63e",
"rgb": {
"r": 186,
"g": 182,
"b": 62
},
"hsl": {
"h": 58.065,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.75747,
"c": 0.13885,
"h": 107.4
},
"luminance": 0.44243
}Semantic roles & 50–950 ramp
primary
#BAB63E
secondary
#8C8EC8
accent
#53DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C