#B8B72D#B8B72D
#B8B72D is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.151 H 109.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B72D |
|---|---|
| RGB | rgb(184, 183, 45) |
| HSL | hsl(60, 61%, 45%) |
| HSV | hsv(60, 76%, 72%) |
| CMYK | cmyk(0%, 0.5%, 75.5%, 27.8%) |
| CIE-LAB | lab(72.39, -15.35, 65.07) |
| CIE-LCH | lch(72.39, 66.86, 103.27°) |
| OKLab | oklab(75.68% -0.0493 0.1425) |
| OKLCH | oklch(75.68% 0.151 109.1) |
| XYZ | xyz(37.1757, 44.2479, 9.0645) |
| Luminance | 0.4425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.15
Olive Yellow
#C2B709
ΔE00 3.45
Mustard Green
#A8B504
ΔE00 3.61
Snot
#ACBB0D
ΔE00 3.78
Vomit Yellow
#C7C10C
ΔE00 4.09
Bile
#B5C306
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B72D #2D2EB8
analogous
#B8712D #B8B72D #74B82D
triadic
#B8B72D #2DB8B7 #B72DB8
tetradic
#B8B72D #2DB871 #2D2EB8 #B82D74
square
#B8B72D #2DB871 #2D2EB8 #B82D74
split-complementary
#B8B72D #2D74B8 #712DB8
monochromatic
#565515 #878621 #B8B72D #D4D34E #E0DF80
Accessibility & contrast
On white
2.13
#B8B72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#B8B72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B72D
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B72D | 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)
#C6AF0A
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b8b72d; /* rgb */ color: rgb(184, 183, 45); /* oklch */ color: oklch(75.7% 0.151 109.1);
Tailwind
colors: {
custom: {
50: '#d1cc71',
500: '#b8b72d',
950: '#000000',
},
}SCSS
$custom: #b8b72d; $custom-light: #d1cc71; $custom-dark: #000000;
JSON
{
"hex": "#b8b72d",
"rgb": {
"r": 184,
"g": 183,
"b": 45
},
"hsl": {
"h": 59.568,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.75675,
"c": 0.15077,
"h": 109.1
},
"luminance": 0.44247
}Semantic roles & 50–950 ramp
primary
#B8B72D
secondary
#7879C9
accent
#45E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B