#B8B92D#B8B92D
#B8B92D is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.153 H 110.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B92D |
|---|---|
| RGB | rgb(184, 185, 45) |
| HSL | hsl(60, 61%, 45%) |
| HSV | hsv(60, 76%, 73%) |
| CMYK | cmyk(0.5%, 0%, 75.7%, 27.5%) |
| CIE-LAB | lab(72.94, -16.36, 65.58) |
| CIE-LCH | lch(72.94, 67.59, 104.01°) |
| OKLab | oklab(76.11% -0.0521 0.1436) |
| OKLCH | oklch(76.11% 0.153 110) |
| XYZ | xyz(37.5912, 45.0788, 9.2030) |
| Luminance | 0.4508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.02
Snot
#ACBB0D
ΔE00 3.29
Mustard Green
#A8B504
ΔE00 3.37
Olive Yellow
#C2B709
ΔE00 3.76
Bile
#B5C306
ΔE00 3.90
Vomit Yellow
#C7C10C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B92D #2E2DB9
analogous
#B9742D #B8B92D #72B92D
triadic
#B8B92D #2DB8B9 #B92DB8
tetradic
#B8B92D #2DB974 #2E2DB9 #B92D72
square
#B8B92D #2DB974 #2E2DB9 #B92D72
split-complementary
#B8B92D #2D72B9 #742DB9
monochromatic
#565715 #878821 #B8B92D #D3D44F #DFE080
Accessibility & contrast
On white
2.10
#B8B92D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#B8B92D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B92D
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B92D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B92D | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B108
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b8b92d; /* rgb */ color: rgb(184, 185, 45); /* oklch */ color: oklch(76.1% 0.153 110.0);
Tailwind
colors: {
custom: {
50: '#d1cd71',
500: '#b8b92d',
950: '#000000',
},
}SCSS
$custom: #b8b92d; $custom-light: #d1cd71; $custom-dark: #000000;
JSON
{
"hex": "#b8b92d",
"rgb": {
"r": 184,
"g": 185,
"b": 45
},
"hsl": {
"h": 60.429,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.76115,
"c": 0.15273,
"h": 110
},
"luminance": 0.45078
}Semantic roles & 50–950 ramp
primary
#B8B92D
secondary
#7979C9
accent
#44E445
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B