#B9BA3A#B9BA3A
#B9BA3A is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.146 H 109.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B9BA3A |
|---|---|
| RGB | rgb(185, 186, 58) |
| HSL | hsl(60, 52%, 48%) |
| HSV | hsv(60, 69%, 73%) |
| CMYK | cmyk(0.5%, 0%, 68.8%, 27.1%) |
| CIE-LAB | lab(73.38, -15.83, 61.48) |
| CIE-LCH | lch(73.38, 63.49, 104.44°) |
| OKLab | oklab(76.5% -0.0495 0.1372) |
| OKLCH | oklch(76.5% 0.146 109.8) |
| XYZ | xyz(38.3315, 45.7387, 10.8114) |
| Luminance | 0.4574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.80
Snot
#ACBB0D
ΔE00 3.82
Mustard Green
#A8B504
ΔE00 4.00
Bile
#B5C306
ΔE00 4.40
Olive Yellow
#C2B709
ΔE00 4.51
Baby Puke Green
#B6C406
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9BA3A #3B3ABA
analogous
#BA7B3A #B9BA3A #79BA3A
triadic
#B9BA3A #3AB9BA #BA3AB9
tetradic
#B9BA3A #3ABA7B #3B3ABA #BA3A79
square
#B9BA3A #3ABA7B #3B3ABA #BA3A79
split-complementary
#B9BA3A #3A79BA #7B3ABA
monochromatic
#5C5D1D #8B8B2B #B9BA3A #CDCE63 #DCDD92
Accessibility & contrast
On white
2.07
#B9BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#B9BA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9BA3A
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9BA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9BA3A | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B226
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#C6AEA1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b9ba3a; /* rgb */ color: rgb(185, 186, 58); /* oklch */ color: oklch(76.5% 0.146 109.8);
Tailwind
colors: {
custom: {
50: '#d1ce78',
500: '#b9ba3a',
950: '#000000',
},
}SCSS
$custom: #b9ba3a; $custom-light: #d1ce78; $custom-dark: #000000;
JSON
{
"hex": "#b9ba3a",
"rgb": {
"r": 185,
"g": 186,
"b": 58
},
"hsl": {
"h": 60.469,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.76504,
"c": 0.14581,
"h": 109.8
},
"luminance": 0.45738
}Semantic roles & 50–950 ramp
primary
#B9BA3A
secondary
#8888C8
accent
#4CDC4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B