#B4B23E#B4B23E
#B4B23E is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.136 H 108.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B23E |
|---|---|
| RGB | rgb(180, 178, 62) |
| HSL | hsl(59, 49%, 47%) |
| HSV | hsv(59, 66%, 71%) |
| CMYK | cmyk(0%, 1.1%, 65.6%, 29.4%) |
| CIE-LAB | lab(70.80, -13.66, 57.17) |
| CIE-LCH | lch(70.80, 58.77, 103.44°) |
| OKLab | oklab(74.36% -0.0427 0.1289) |
| OKLCH | oklch(74.36% 0.136 108.3) |
| XYZ | xyz(35.6135, 41.8930, 10.7667) |
| Luminance | 0.4189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.71
Vomit
#A2A415
ΔE00 4.90
Puke
#A5A502
ΔE00 4.93
Olive Yellow
#C2B709
ΔE00 5.20
Snot
#ACBB0D
ΔE00 5.27
Puke Yellow
#C2BE0E
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B23E #3E40B4
analogous
#B4773E #B4B23E #7BB43E
triadic
#B4B23E #3EB4B2 #B23EB4
tetradic
#B4B23E #3EB477 #3E40B4 #B43E7B
square
#B4B23E #3EB477 #3E40B4 #B43E7B
split-complementary
#B4B23E #3E7BB4 #773EB4
monochromatic
#59581F #86852E #B4B23E #CAC865 #DAD893
Accessibility & contrast
On white
2.24
#B4B23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#B4B23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B23E
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B23E | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b4b23e; /* rgb */ color: rgb(180, 178, 62); /* oklch */ color: oklch(74.4% 0.136 108.3);
Tailwind
colors: {
custom: {
50: '#cdc879',
500: '#b4b23e',
950: '#000000',
},
}SCSS
$custom: #b4b23e; $custom-light: #cdc879; $custom-dark: #000000;
JSON
{
"hex": "#b4b23e",
"rgb": {
"r": 180,
"g": 178,
"b": 62
},
"hsl": {
"h": 58.983,
"s": 48.76,
"l": 47.451
},
"oklch": {
"l": 0.74355,
"c": 0.13575,
"h": 108.3
},
"luminance": 0.41892
}Semantic roles & 50–950 ramp
primary
#B4B23E
secondary
#898AC5
accent
#52D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B