#B5B726#B5B726
#B5B726 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.155 H 110.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B726 |
|---|---|
| RGB | rgb(181, 183, 38) |
| HSL | hsl(61, 66%, 43%) |
| HSV | hsv(61, 79%, 72%) |
| CMYK | cmyk(1.1%, 0%, 79.2%, 28.2%) |
| CIE-LAB | lab(72.12, -16.91, 66.85) |
| CIE-LCH | lch(72.12, 68.96, 104.19°) |
| OKLab | oklab(75.38% -0.0541 0.1451) |
| OKLCH | oklch(75.38% 0.155 110.4) |
| XYZ | xyz(36.3407, 43.8317, 8.3794) |
| Luminance | 0.4383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.81
Snot
#ACBB0D
ΔE00 3.00
Puke Yellow
#C2BE0E
ΔE00 3.26
Olive Yellow
#C2B709
ΔE00 3.83
Bile
#B5C306
ΔE00 3.96
Baby Puke Green
#B6C406
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B726 #2826B7
analogous
#B77126 #B5B726 #6CB726
triadic
#B5B726 #26B5B7 #B726B5
tetradic
#B5B726 #26B771 #2826B7 #B7266C
square
#B5B726 #26B771 #2826B7 #B7266C
split-complementary
#B5B726 #266CB7 #7126B7
monochromatic
#515211 #83841B #B5B726 #D6D842 #E1E275
Accessibility & contrast
On white
2.15
#B5B726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#B5B726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B726
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B726 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B333
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b5b726; /* rgb */ color: rgb(181, 183, 38); /* oklch */ color: oklch(75.4% 0.155 110.4);
Tailwind
colors: {
custom: {
50: '#cfcc6e',
500: '#b5b726',
950: '#000000',
},
}SCSS
$custom: #b5b726; $custom-light: #cfcc6e; $custom-dark: #000000;
JSON
{
"hex": "#b5b726",
"rgb": {
"r": 181,
"g": 183,
"b": 38
},
"hsl": {
"h": 60.828,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.75383,
"c": 0.15487,
"h": 110.4
},
"luminance": 0.43831
}Semantic roles & 50–950 ramp
primary
#B5B726
secondary
#706FCA
accent
#3FE942
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B