#BAB83F#BAB83F
#BAB83F is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.140 H 108.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB83F |
|---|---|
| RGB | rgb(186, 184, 63) |
| HSL | hsl(59, 49%, 49%) |
| HSV | hsv(59, 66%, 73%) |
| CMYK | cmyk(0%, 1.1%, 66.1%, 27.1%) |
| CIE-LAB | lab(72.94, -14.11, 59.13) |
| CIE-LCH | lch(72.94, 60.79, 103.42°) |
| OKLab | oklab(76.19% -0.0442 0.133) |
| OKLCH | oklch(76.19% 0.14 108.4) |
| XYZ | xyz(38.2887, 45.0801, 11.3861) |
| Luminance | 0.4508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.24
Olive Yellow
#C2B709
ΔE00 4.48
Mustard Green
#A8B504
ΔE00 4.68
Snot
#ACBB0D
ΔE00 4.72
Vomit Yellow
#C7C10C
ΔE00 4.99
Bile
#B5C306
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB83F #3F41BA
analogous
#BA7B3F #BAB83F #7FBA3F
triadic
#BAB83F #3FBAB8 #B83FBA
tetradic
#BAB83F #3FBA7B #3F41BA #BA3F7F
square
#BAB83F #3FBA7B #3F41BA #BA3F7F
split-complementary
#BAB83F #3F7FBA #7B3FBA
monochromatic
#5F5E20 #8C8B30 #BAB83F #CCCB6A #DCDB97
Accessibility & contrast
On white
2.10
#BAB83F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#BAB83F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB83F
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB83F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB83F | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab83f; /* rgb */ color: rgb(186, 184, 63); /* oklch */ color: oklch(76.2% 0.140 108.4);
Tailwind
colors: {
custom: {
50: '#d2cd7b',
500: '#bab83f',
950: '#000000',
},
}SCSS
$custom: #bab83f; $custom-light: #d2cd7b; $custom-dark: #000000;
JSON
{
"hex": "#bab83f",
"rgb": {
"r": 186,
"g": 184,
"b": 63
},
"hsl": {
"h": 59.024,
"s": 49.398,
"l": 48.824
},
"oklch": {
"l": 0.76191,
"c": 0.14014,
"h": 108.4
},
"luminance": 0.45079
}Semantic roles & 50–950 ramp
primary
#BAB83F
secondary
#8D8EC8
accent
#51D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C