#B8B72E#B8B72E
#B8B72E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.150 H 109.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B72E |
|---|---|
| RGB | rgb(184, 183, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 72%) |
| CMYK | cmyk(0%, 0.5%, 75%, 27.8%) |
| CIE-LAB | lab(72.40, -15.31, 64.76) |
| CIE-LCH | lch(72.40, 66.54, 103.30°) |
| OKLab | oklab(75.68% -0.0491 0.142) |
| OKLCH | oklch(75.68% 0.15 109.1) |
| XYZ | xyz(37.1952, 44.2557, 9.1671) |
| Luminance | 0.4425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.21
Olive Yellow
#C2B709
ΔE00 3.51
Mustard Green
#A8B504
ΔE00 3.64
Snot
#ACBB0D
ΔE00 3.81
Vomit Yellow
#C7C10C
ΔE00 4.14
Bile
#B5C306
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B72E #2E2FB8
analogous
#B8722E #B8B72E #74B82E
triadic
#B8B72E #2EB8B7 #B72EB8
tetradic
#B8B72E #2EB872 #2E2FB8 #B82E74
square
#B8B72E #2EB872 #2E2FB8 #B82E74
split-complementary
#B8B72E #2E74B8 #722EB8
monochromatic
#565616 #878622 #B8B72E #D3D250 #DFDF81
Accessibility & contrast
On white
2.13
#B8B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#B8B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B72E
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B72E | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b8b72e; /* rgb */ color: rgb(184, 183, 46); /* oklch */ color: oklch(75.7% 0.150 109.1);
Tailwind
colors: {
custom: {
50: '#d1cc72',
500: '#b8b72e',
950: '#000000',
},
}SCSS
$custom: #b8b72e; $custom-light: #d1cc72; $custom-dark: #000000;
JSON
{
"hex": "#b8b72e",
"rgb": {
"r": 184,
"g": 183,
"b": 46
},
"hsl": {
"h": 59.565,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.75681,
"c": 0.15023,
"h": 109.1
},
"luminance": 0.44255
}Semantic roles & 50–950 ramp
primary
#B8B72E
secondary
#797AC8
accent
#46E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B