#B4B92F#B4B92F
#B4B92F is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.153 H 111.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B92F |
|---|---|
| RGB | rgb(180, 185, 47) |
| HSL | hsl(62, 59%, 45%) |
| HSV | hsv(62, 75%, 73%) |
| CMYK | cmyk(2.7%, 0%, 74.6%, 27.5%) |
| CIE-LAB | lab(72.63, -17.99, 64.53) |
| CIE-LCH | lch(72.63, 66.99, 105.58°) |
| OKLab | oklab(75.79% -0.0563 0.1418) |
| OKLCH | oklch(75.79% 0.153 111.6) |
| XYZ | xyz(36.6857, 44.6074, 9.3664) |
| Luminance | 0.4461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.61
Mustard Green
#A8B504
ΔE00 2.74
Bile
#B5C306
ΔE00 3.64
Baby Puke Green
#B6C406
ΔE00 3.83
Puke Yellow
#C2BE0E
ΔE00 3.88
Pea
#A4BF20
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B92F #342FB9
analogous
#B9792F #B4B92F #6FB92F
triadic
#B4B92F #2FB4B9 #B92FB4
tetradic
#B4B92F #2FB979 #342FB9 #B92F6F
square
#B4B92F #2FB979 #342FB9 #B92F6F
split-complementary
#B4B92F #2F6FB9 #792FB9
monochromatic
#555716 #858823 #B4B92F #CED352 #DCDF83
Accessibility & contrast
On white
2.12
#B4B92F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#B4B92F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B92F
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B92F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B92F | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00F
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b4b92f; /* rgb */ color: rgb(180, 185, 47); /* oklch */ color: oklch(75.8% 0.153 111.6);
Tailwind
colors: {
custom: {
50: '#cecd72',
500: '#b4b92f',
950: '#000000',
},
}SCSS
$custom: #b4b92f; $custom-light: #cecd72; $custom-dark: #000000;
JSON
{
"hex": "#b4b92f",
"rgb": {
"r": 180,
"g": 185,
"b": 47
},
"hsl": {
"h": 62.174,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.7579,
"c": 0.15259,
"h": 111.6
},
"luminance": 0.44606
}Semantic roles & 50–950 ramp
primary
#B4B92F
secondary
#7E7BC9
accent
#45E34B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B