#B8B13E#B8B13E
#B8B13E is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.134 H 105.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B13E |
|---|---|
| RGB | rgb(184, 177, 62) |
| HSL | hsl(57, 50%, 48%) |
| HSV | hsv(57, 66%, 72%) |
| CMYK | cmyk(0%, 3.8%, 66.3%, 27.8%) |
| CIE-LAB | lab(70.86, -11.43, 57.34) |
| CIE-LCH | lch(70.86, 58.46, 101.27°) |
| OKLab | oklab(74.49% -0.0366 0.1291) |
| OKLCH | oklch(74.49% 0.134 105.8) |
| XYZ | xyz(36.3602, 41.9837, 10.7449) |
| Luminance | 0.4198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.63
Muddy Yellow
#BFAC05
ΔE00 5.00
Puke
#A5A502
ΔE00 5.12
Vomit
#A2A415
ΔE00 5.25
Puke Yellow
#C2BE0E
ΔE00 5.40
Mustard Green
#A8B504
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B13E #3E45B8
analogous
#B8743E #B8B13E #82B83E
triadic
#B8B13E #3EB8B1 #B13EB8
tetradic
#B8B13E #3EB874 #3E45B8 #B83E82
square
#B8B13E #3EB874 #3E45B8 #B83E82
split-complementary
#B8B13E #3E82B8 #743EB8
monochromatic
#5C591F #8A852F #B8B13E #CCC667 #DBD795
Accessibility & contrast
On white
2.23
#B8B13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#B8B13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B13E
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B13E | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C5A59A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b8b13e; /* rgb */ color: rgb(184, 177, 62); /* oklch */ color: oklch(74.5% 0.134 105.8);
Tailwind
colors: {
custom: {
50: '#d0c879',
500: '#b8b13e',
950: '#000000',
},
}SCSS
$custom: #b8b13e; $custom-light: #d0c879; $custom-dark: #000000;
JSON
{
"hex": "#b8b13e",
"rgb": {
"r": 184,
"g": 177,
"b": 62
},
"hsl": {
"h": 56.557,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.74486,
"c": 0.1342,
"h": 105.8
},
"luminance": 0.41982
}Semantic roles & 50–950 ramp
primary
#B8B13E
secondary
#8B8EC7
accent
#57D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B