#B5B827#B5B827
#B5B827 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.155 H 110.8°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B827 |
|---|---|
| RGB | rgb(181, 184, 39) |
| HSL | hsl(61, 65%, 44%) |
| HSV | hsv(61, 79%, 72%) |
| CMYK | cmyk(1.6%, 0%, 78.8%, 27.8%) |
| CIE-LAB | lab(72.40, -17.38, 66.82) |
| CIE-LCH | lch(72.40, 69.04, 104.58°) |
| OKLab | oklab(75.61% -0.0553 0.1452) |
| OKLCH | oklch(75.61% 0.155 110.8) |
| XYZ | xyz(36.5641, 44.2522, 8.5345) |
| Luminance | 0.4425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.72
Snot
#ACBB0D
ΔE00 2.76
Puke Yellow
#C2BE0E
ΔE00 3.27
Bile
#B5C306
ΔE00 3.68
Baby Puke Green
#B6C406
ΔE00 3.88
Olive Yellow
#C2B709
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B827 #2A27B8
analogous
#B87227 #B5B827 #6CB827
triadic
#B5B827 #27B5B8 #B827B5
tetradic
#B5B827 #27B872 #2A27B8 #B8276C
square
#B5B827 #27B872 #2A27B8 #B8276C
split-complementary
#B5B827 #276CB8 #7227B8
monochromatic
#525312 #83861C #B5B827 #D4D845 #E0E277
Accessibility & contrast
On white
2.13
#B5B827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#B5B827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B827
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B827 | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B334
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b827; /* rgb */ color: rgb(181, 184, 39); /* oklch */ color: oklch(75.6% 0.155 110.8);
Tailwind
colors: {
custom: {
50: '#cfcd6f',
500: '#b5b827',
950: '#000000',
},
}SCSS
$custom: #b5b827; $custom-light: #cfcd6f; $custom-dark: #000000;
JSON
{
"hex": "#b5b827",
"rgb": {
"r": 181,
"g": 184,
"b": 39
},
"hsl": {
"h": 61.241,
"s": 65.022,
"l": 43.725
},
"oklch": {
"l": 0.75609,
"c": 0.15539,
"h": 110.8
},
"luminance": 0.44251
}Semantic roles & 50–950 ramp
primary
#B5B827
secondary
#7371CA
accent
#40E843
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B