#B5BF52#B5BF52
#B5BF52 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.134 H 113.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BF52 |
|---|---|
| RGB | rgb(181, 191, 82) |
| HSL | hsl(66, 46%, 54%) |
| HSV | hsv(66, 57%, 75%) |
| CMYK | cmyk(5.2%, 0%, 57.1%, 25.1%) |
| CIE-LAB | lab(74.63, -18.44, 52.69) |
| CIE-LCH | lch(74.63, 55.83, 109.29°) |
| OKLab | oklab(77.49% -0.0541 0.1221) |
| OKLCH | oklch(77.49% 0.134 113.9) |
| XYZ | xyz(39.2107, 47.6952, 15.1215) |
| Luminance | 0.4769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 4.60
Light Olive
#ACBF69
ΔE00 4.61
Booger
#9BB53C
ΔE00 5.07
Sick Green
#9DB92C
ΔE00 5.16
Pea
#A4BF20
ΔE00 5.18
Snot
#ACBB0D
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BF52 #5C52BF
analogous
#BF9252 #B5BF52 #7EBF52
triadic
#B5BF52 #52B5BF #BF52B5
tetradic
#B5BF52 #52BF92 #5C52BF #BF527E
square
#B5BF52 #52BF92 #5C52BF #BF527E
split-complementary
#B5BF52 #527EBF #9252BF
monochromatic
#686E29 #929B39 #B5BF52 #C8D07F #DBE0AB
Accessibility & contrast
On white
1.99
#B5BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#B5BF52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BF52
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BF52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BF52 | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CBB958
Tritanopia (blue-blind)
#C0B5A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b5bf52; /* rgb */ color: rgb(181, 191, 82); /* oklch */ color: oklch(77.5% 0.134 113.9);
Tailwind
colors: {
custom: {
50: '#cdd286',
500: '#b5bf52',
950: '#000000',
},
}SCSS
$custom: #b5bf52; $custom-light: #cdd286; $custom-dark: #000000;
JSON
{
"hex": "#b5bf52",
"rgb": {
"r": 181,
"g": 191,
"b": 82
},
"hsl": {
"h": 65.505,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.77493,
"c": 0.13357,
"h": 113.9
},
"luminance": 0.47695
}Semantic roles & 50–950 ramp
primary
#B5BF52
secondary
#A39FCE
accent
#52D65E
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C