#B8B23E#B8B23E
#B8B23E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.135 H 106.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B23E |
|---|---|
| RGB | rgb(184, 178, 62) |
| HSL | hsl(57, 50%, 48%) |
| HSV | hsv(57, 66%, 72%) |
| CMYK | cmyk(0%, 3.3%, 66.3%, 27.8%) |
| CIE-LAB | lab(71.13, -11.95, 57.62) |
| CIE-LCH | lch(71.13, 58.84, 101.71°) |
| OKLab | oklab(74.7% -0.0381 0.1297) |
| OKLCH | oklch(74.7% 0.135 106.4) |
| XYZ | xyz(36.5584, 42.3802, 10.8109) |
| Luminance | 0.4238 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.57
Muddy Yellow
#BFAC05
ΔE00 5.18
Puke
#A5A502
ΔE00 5.18
Puke Yellow
#C2BE0E
ΔE00 5.19
Vomit
#A2A415
ΔE00 5.31
Mustard Green
#A8B504
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B23E #3E44B8
analogous
#B8753E #B8B23E #81B83E
triadic
#B8B23E #3EB8B2 #B23EB8
tetradic
#B8B23E #3EB875 #3E44B8 #B83E81
square
#B8B23E #3EB875 #3E44B8 #B83E81
split-complementary
#B8B23E #3E81B8 #753EB8
monochromatic
#5C591F #8A862F #B8B23E #CCC767 #DBD895
Accessibility & contrast
On white
2.22
#B8B23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#B8B23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B23E
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B23E | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b8b23e; /* rgb */ color: rgb(184, 178, 62); /* oklch */ color: oklch(74.7% 0.135 106.4);
Tailwind
colors: {
custom: {
50: '#d0c87a',
500: '#b8b23e',
950: '#000000',
},
}SCSS
$custom: #b8b23e; $custom-light: #d0c87a; $custom-dark: #000000;
JSON
{
"hex": "#b8b23e",
"rgb": {
"r": 184,
"g": 178,
"b": 62
},
"hsl": {
"h": 57.049,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.74703,
"c": 0.13518,
"h": 106.4
},
"luminance": 0.42379
}Semantic roles & 50–950 ramp
primary
#B8B23E
secondary
#8B8EC7
accent
#55D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B