#BAB83D#BAB83D
#BAB83D is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.142 H 108.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB83D |
|---|---|
| RGB | rgb(186, 184, 61) |
| HSL | hsl(59, 51%, 48%) |
| HSV | hsv(59, 67%, 73%) |
| CMYK | cmyk(0%, 1.1%, 67.2%, 27.1%) |
| CIE-LAB | lab(72.93, -14.22, 59.91) |
| CIE-LCH | lch(72.93, 61.57, 103.36°) |
| OKLab | oklab(76.18% -0.0447 0.1343) |
| OKLCH | oklch(76.18% 0.142 108.4) |
| XYZ | xyz(38.2338, 45.0582, 11.0971) |
| Luminance | 0.4506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.05
Olive Yellow
#C2B709
ΔE00 4.30
Mustard Green
#A8B504
ΔE00 4.55
Snot
#ACBB0D
ΔE00 4.60
Vomit Yellow
#C7C10C
ΔE00 4.82
Bile
#B5C306
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB83D #3D3FBA
analogous
#BA793D #BAB83D #7DBA3D
triadic
#BAB83D #3DBAB8 #B83DBA
tetradic
#BAB83D #3DBA79 #3D3FBA #BA3D7D
square
#BAB83D #3DBA79 #3D3FBA #BA3D7D
split-complementary
#BAB83D #3D7DBA #793DBA
monochromatic
#5E5D1F #8C8A2E #BAB83D #CDCC67 #DCDB95
Accessibility & contrast
On white
2.10
#BAB83D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#BAB83D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB83D
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB83D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB83D | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B12B
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab83d; /* rgb */ color: rgb(186, 184, 61); /* oklch */ color: oklch(76.2% 0.142 108.4);
Tailwind
colors: {
custom: {
50: '#d2cd7a',
500: '#bab83d',
950: '#000000',
},
}SCSS
$custom: #bab83d; $custom-light: #d2cd7a; $custom-dark: #000000;
JSON
{
"hex": "#bab83d",
"rgb": {
"r": 186,
"g": 184,
"b": 61
},
"hsl": {
"h": 59.04,
"s": 50.607,
"l": 48.431
},
"oklch": {
"l": 0.76175,
"c": 0.14156,
"h": 108.4
},
"luminance": 0.45057
}Semantic roles & 50–950 ramp
primary
#BAB83D
secondary
#8B8CC8
accent
#50DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C