#B0B42E#B0B42E
#B0B42E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.149 H 111.3°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B42E |
|---|---|
| RGB | rgb(176, 180, 46) |
| HSL | hsl(62, 59%, 44%) |
| HSV | hsv(62, 74%, 71%) |
| CMYK | cmyk(2.2%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(70.92, -17.23, 63.14) |
| CIE-LCH | lch(70.92, 65.45, 105.26°) |
| OKLab | oklab(74.34% -0.054 0.1389) |
| OKLCH | oklch(74.34% 0.149 111.3) |
| XYZ | xyz(34.7201, 42.0708, 8.8758) |
| Luminance | 0.4207 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.64
Snot
#ACBB0D
ΔE00 3.25
Puke Green
#9AAE07
ΔE00 4.45
Puke
#A5A502
ΔE00 4.55
Vomit
#A2A415
ΔE00 4.62
Puke Yellow
#C2BE0E
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B42E #322EB4
analogous
#B4752E #B0B42E #6DB42E
triadic
#B0B42E #2EB0B4 #B42EB0
tetradic
#B0B42E #2EB475 #322EB4 #B42E6D
square
#B0B42E #2EB475 #322EB4 #B42E6D
split-complementary
#B0B42E #2E6DB4 #752EB4
monochromatic
#515315 #808322 #B0B42E #CED24E #DBDE7E
Accessibility & contrast
On white
2.23
#B0B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#B0B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B42E
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B42E | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#BCA99B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b0b42e; /* rgb */ color: rgb(176, 180, 46); /* oklch */ color: oklch(74.3% 0.149 111.3);
Tailwind
colors: {
custom: {
50: '#cbca71',
500: '#b0b42e',
950: '#000000',
},
}SCSS
$custom: #b0b42e; $custom-light: #cbca71; $custom-dark: #000000;
JSON
{
"hex": "#b0b42e",
"rgb": {
"r": 176,
"g": 180,
"b": 46
},
"hsl": {
"h": 61.791,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.7434,
"c": 0.149,
"h": 111.3
},
"luminance": 0.4207
}Semantic roles & 50–950 ramp
primary
#B0B42E
secondary
#7977C7
accent
#45E24A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B