#B8B83F#B8B83F
#B8B83F is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.140 H 109.3°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B83F |
|---|---|
| RGB | rgb(184, 184, 63) |
| HSL | hsl(60, 49%, 48%) |
| HSV | hsv(60, 66%, 72%) |
| CMYK | cmyk(0%, 0%, 65.8%, 27.8%) |
| CIE-LAB | lab(72.78, -14.96, 58.91) |
| CIE-LCH | lch(72.78, 60.78, 104.25°) |
| OKLab | oklab(76.02% -0.0465 0.1326) |
| OKLCH | oklch(76.02% 0.14 109.3) |
| XYZ | xyz(37.8061, 44.8313, 11.3635) |
| Luminance | 0.4483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.36
Snot
#ACBB0D
ΔE00 4.40
Puke Yellow
#C2BE0E
ΔE00 4.47
Olive Yellow
#C2B709
ΔE00 4.85
Bile
#B5C306
ΔE00 5.19
Vomit Yellow
#C7C10C
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B83F #3F3FB8
analogous
#B87B3F #B8B83F #7BB83F
triadic
#B8B83F #3FB8B8 #B83FB8
tetradic
#B8B83F #3FB87B #3F3FB8 #B83F7B
square
#B8B83F #3FB87B #3F3FB8 #B83F7B
split-complementary
#B8B83F #3F7BB8 #7B3FB8
monochromatic
#5D5D20 #8A8A2F #B8B83F #CCCC69 #DBDB96
Accessibility & contrast
On white
2.11
#B8B83F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#B8B83F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B83F
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B83F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B83F | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b8b83f; /* rgb */ color: rgb(184, 184, 63); /* oklch */ color: oklch(76.0% 0.140 109.3);
Tailwind
colors: {
custom: {
50: '#d0cd7b',
500: '#b8b83f',
950: '#000000',
},
}SCSS
$custom: #b8b83f; $custom-light: #d0cd7b; $custom-dark: #000000;
JSON
{
"hex": "#b8b83f",
"rgb": {
"r": 184,
"g": 184,
"b": 63
},
"hsl": {
"h": 60,
"s": 48.988,
"l": 48.431
},
"oklch": {
"l": 0.7602,
"c": 0.14049,
"h": 109.3
},
"luminance": 0.4483
}Semantic roles & 50–950 ramp
primary
#B8B83F
secondary
#8C8CC7
accent
#4FD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C