#B0B52E#B0B52E
#B0B52E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.150 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B52E |
|---|---|
| RGB | rgb(176, 181, 46) |
| HSL | hsl(62, 59%, 45%) |
| HSV | hsv(62, 75%, 71%) |
| CMYK | cmyk(2.8%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(71.20, -17.73, 63.40) |
| CIE-LCH | lch(71.20, 65.84, 105.63°) |
| OKLab | oklab(74.56% -0.0554 0.1394) |
| OKLCH | oklch(74.56% 0.15 111.7) |
| XYZ | xyz(34.9227, 42.4760, 8.9433) |
| Luminance | 0.4248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.48
Snot
#ACBB0D
ΔE00 2.98
Puke Green
#9AAE07
ΔE00 4.39
Bile
#B5C306
ΔE00 4.51
Puke Yellow
#C2BE0E
ΔE00 4.64
Baby Puke Green
#B6C406
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B52E #332EB5
analogous
#B5762E #B0B52E #6DB52E
triadic
#B0B52E #2EB0B5 #B52EB0
tetradic
#B0B52E #2EB576 #332EB5 #B52E6D
square
#B0B52E #2EB576 #332EB5 #B52E6D
split-complementary
#B0B52E #2E6DB5 #762EB5
monochromatic
#515315 #818422 #B0B52E #CDD24E #DBDE7F
Accessibility & contrast
On white
2.21
#B0B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#B0B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B52E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B52E | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD0F
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b0b52e; /* rgb */ color: rgb(176, 181, 46); /* oklch */ color: oklch(74.6% 0.150 111.7);
Tailwind
colors: {
custom: {
50: '#cbca71',
500: '#b0b52e',
950: '#000000',
},
}SCSS
$custom: #b0b52e; $custom-light: #cbca71; $custom-dark: #000000;
JSON
{
"hex": "#b0b52e",
"rgb": {
"r": 176,
"g": 181,
"b": 46
},
"hsl": {
"h": 62.222,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.74562,
"c": 0.15003,
"h": 111.7
},
"luminance": 0.42475
}Semantic roles & 50–950 ramp
primary
#B0B52E
secondary
#7B78C7
accent
#45E34B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B