#B4B726#B4B726
#B4B726 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.155 H 110.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B726 |
|---|---|
| RGB | rgb(180, 183, 38) |
| HSL | hsl(61, 66%, 43%) |
| HSV | hsv(61, 79%, 72%) |
| CMYK | cmyk(1.6%, 0%, 79.2%, 28.2%) |
| CIE-LAB | lab(72.03, -17.34, 66.75) |
| CIE-LCH | lch(72.03, 68.97, 104.56°) |
| OKLab | oklab(75.3% -0.0552 0.1449) |
| OKLCH | oklch(75.3% 0.155 110.9) |
| XYZ | xyz(36.1070, 43.7112, 8.3685) |
| Luminance | 0.4371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.60
Snot
#ACBB0D
ΔE00 2.80
Puke Yellow
#C2BE0E
ΔE00 3.44
Bile
#B5C306
ΔE00 3.87
Baby Puke Green
#B6C406
ΔE00 4.07
Olive Yellow
#C2B709
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B726 #2926B7
analogous
#B77126 #B4B726 #6CB726
triadic
#B4B726 #26B4B7 #B726B4
tetradic
#B4B726 #26B771 #2926B7 #B7266C
square
#B4B726 #26B771 #2926B7 #B7266C
split-complementary
#B4B726 #266CB7 #7126B7
monochromatic
#505211 #82841B #B4B726 #D5D842 #E0E275
Accessibility & contrast
On white
2.16
#B4B726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#B4B726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B726
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B726 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B233
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b726; /* rgb */ color: rgb(180, 183, 38); /* oklch */ color: oklch(75.3% 0.155 110.9);
Tailwind
colors: {
custom: {
50: '#cecc6e',
500: '#b4b726',
950: '#000000',
},
}SCSS
$custom: #b4b726; $custom-light: #cecc6e; $custom-dark: #000000;
JSON
{
"hex": "#b4b726",
"rgb": {
"r": 180,
"g": 183,
"b": 38
},
"hsl": {
"h": 61.241,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.75298,
"c": 0.1551,
"h": 110.9
},
"luminance": 0.4371
}Semantic roles & 50–950 ramp
primary
#B4B726
secondary
#716FCA
accent
#3FE943
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B