#B9B92E#B9B92E
#B9B92E is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.152 H 109.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B92E |
|---|---|
| RGB | rgb(185, 185, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 73%) |
| CMYK | cmyk(0%, 0%, 75.1%, 27.5%) |
| CIE-LAB | lab(73.03, -15.89, 65.37) |
| CIE-LCH | lch(73.03, 67.27, 103.66°) |
| OKLab | oklab(76.21% -0.0508 0.1432) |
| OKLCH | oklch(76.21% 0.152 109.5) |
| XYZ | xyz(37.8511, 45.2106, 9.3169) |
| Luminance | 0.4521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.92
Snot
#ACBB0D
ΔE00 3.53
Olive Yellow
#C2B709
ΔE00 3.59
Mustard Green
#A8B504
ΔE00 3.60
Vomit Yellow
#C7C10C
ΔE00 3.83
Bile
#B5C306
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B92E #2E2EB9
analogous
#B9732E #B9B92E #73B92E
triadic
#B9B92E #2EB9B9 #B92EB9
tetradic
#B9B92E #2EB973 #2E2EB9 #B92E73
square
#B9B92E #2EB973 #2E2EB9 #B92E73
split-complementary
#B9B92E #2E73B9 #732EB9
monochromatic
#575716 #888822 #B9B92E #D4D451 #E0E082
Accessibility & contrast
On white
2.09
#B9B92E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.04
#B9B92E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B92E
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B92E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B92E | 1.00 | 2.09 | 10.04 | 10.04 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B10C
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C6AD9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b9b92e; /* rgb */ color: rgb(185, 185, 46); /* oklch */ color: oklch(76.2% 0.152 109.5);
Tailwind
colors: {
custom: {
50: '#d2cd72',
500: '#b9b92e',
950: '#000000',
},
}SCSS
$custom: #b9b92e; $custom-light: #d2cd72; $custom-dark: #000000;
JSON
{
"hex": "#b9b92e",
"rgb": {
"r": 185,
"g": 185,
"b": 46
},
"hsl": {
"h": 60,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.76205,
"c": 0.15199,
"h": 109.5
},
"luminance": 0.45209
}Semantic roles & 50–950 ramp
primary
#B9B92E
secondary
#7A7AC9
accent
#44E344
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B