#B9BA2E#B9BA2E
#B9BA2E is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.153 H 110.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B9BA2E |
|---|---|
| RGB | rgb(185, 186, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 73%) |
| CMYK | cmyk(0.5%, 0%, 75.3%, 27.1%) |
| CIE-LAB | lab(73.31, -16.40, 65.62) |
| CIE-LCH | lch(73.31, 67.64, 104.03°) |
| OKLab | oklab(76.43% -0.0522 0.1438) |
| OKLCH | oklch(76.43% 0.153 110) |
| XYZ | xyz(38.0610, 45.6305, 9.3869) |
| Luminance | 0.4563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.89
Snot
#ACBB0D
ΔE00 3.32
Mustard Green
#A8B504
ΔE00 3.52
Olive Yellow
#C2B709
ΔE00 3.77
Bile
#B5C306
ΔE00 3.77
Vomit Yellow
#C7C10C
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9BA2E #2F2EBA
analogous
#BA752E #B9BA2E #73BA2E
triadic
#B9BA2E #2EB9BA #BA2EB9
tetradic
#B9BA2E #2EBA75 #2F2EBA #BA2E73
square
#B9BA2E #2EBA75 #2F2EBA #BA2E73
split-complementary
#B9BA2E #2E73BA #752EBA
monochromatic
#575816 #888922 #B9BA2E #D3D451 #DFE082
Accessibility & contrast
On white
2.07
#B9BA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#B9BA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9BA2E
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9BA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9BA2E | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B20B
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#C6AEA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b9ba2e; /* rgb */ color: rgb(185, 186, 46); /* oklch */ color: oklch(76.4% 0.153 110.0);
Tailwind
colors: {
custom: {
50: '#d2ce72',
500: '#b9ba2e',
950: '#000000',
},
}SCSS
$custom: #b9ba2e; $custom-light: #d2ce72; $custom-dark: #000000;
JSON
{
"hex": "#b9ba2e",
"rgb": {
"r": 185,
"g": 186,
"b": 46
},
"hsl": {
"h": 60.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.76425,
"c": 0.15297,
"h": 110
},
"luminance": 0.45629
}Semantic roles & 50–950 ramp
primary
#B9BA2E
secondary
#7B7BC9
accent
#44E345
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B