#B8BD1F#B8BD1F
#B8BD1F is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.163 H 111.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BD1F |
|---|---|
| RGB | rgb(184, 189, 31) |
| HSL | hsl(62, 72%, 43%) |
| HSV | hsv(62, 84%, 74%) |
| CMYK | cmyk(2.6%, 0%, 83.6%, 25.9%) |
| CIE-LAB | lab(73.99, -18.85, 70.37) |
| CIE-LCH | lch(73.99, 72.85, 105.00°) |
| OKLab | oklab(76.93% -0.0601 0.1514) |
| OKLCH | oklch(76.93% 0.163 111.6) |
| XYZ | xyz(38.2135, 46.6855, 8.2943) |
| Luminance | 0.4668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.35
Snot
#ACBB0D
ΔE00 2.42
Baby Puke Green
#B6C406
ΔE00 2.50
Puke Yellow
#C2BE0E
ΔE00 2.58
Mustard Green
#A8B504
ΔE00 3.13
Vomit Yellow
#C7C10C
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BD1F #241FBD
analogous
#BD731F #B8BD1F #69BD1F
triadic
#B8BD1F #1FB8BD #BD1FB8
tetradic
#B8BD1F #1FBD73 #241FBD #BD1F69
square
#B8BD1F #1FBD73 #241FBD #BD1F69
split-complementary
#B8BD1F #1F69BD #731FBD
monochromatic
#52540E #858816 #B8BD1F #DADF3A #E4E76F
Accessibility & contrast
On white
2.03
#B8BD1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#B8BD1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BD1F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BD1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BD1F | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB830
Tritanopia (blue-blind)
#C5B1A1
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b8bd1f; /* rgb */ color: rgb(184, 189, 31); /* oklch */ color: oklch(76.9% 0.163 111.6);
Tailwind
colors: {
custom: {
50: '#d2d06c',
500: '#b8bd1f',
950: '#000000',
},
}SCSS
$custom: #b8bd1f; $custom-light: #d2d06c; $custom-dark: #000000;
JSON
{
"hex": "#b8bd1f",
"rgb": {
"r": 184,
"g": 189,
"b": 31
},
"hsl": {
"h": 61.899,
"s": 71.818,
"l": 43.137
},
"oklch": {
"l": 0.76931,
"c": 0.16284,
"h": 111.6
},
"luminance": 0.46684
}Semantic roles & 50–950 ramp
primary
#B8BD1F
secondary
#6D6ACE
accent
#39EF3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B