#B2B62E#B2B62E
#B2B62E is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.151 H 111.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B62E |
|---|---|
| RGB | rgb(178, 182, 46) |
| HSL | hsl(62, 60%, 45%) |
| HSV | hsv(62, 75%, 71%) |
| CMYK | cmyk(2.2%, 0%, 74.7%, 28.6%) |
| CIE-LAB | lab(71.64, -17.38, 63.87) |
| CIE-LCH | lch(71.64, 66.19, 105.22°) |
| OKLab | oklab(74.95% -0.0546 0.1403) |
| OKLCH | oklch(74.95% 0.151 111.3) |
| XYZ | xyz(35.5824, 43.1191, 9.0327) |
| Luminance | 0.4312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.64
Snot
#ACBB0D
ΔE00 2.97
Puke Yellow
#C2BE0E
ΔE00 4.24
Bile
#B5C306
ΔE00 4.31
Baby Puke Green
#B6C406
ΔE00 4.52
Olive Yellow
#C2B709
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B62E #322EB6
analogous
#B6762E #B2B62E #6EB62E
triadic
#B2B62E #2EB2B6 #B62EB2
tetradic
#B2B62E #2EB676 #322EB6 #B62E6E
square
#B2B62E #2EB676 #322EB6 #B62E6E
split-complementary
#B2B62E #2E6EB6 #762EB6
monochromatic
#525415 #828522 #B2B62E #CFD24F #DCDF80
Accessibility & contrast
On white
2.18
#B2B62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#B2B62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B62E
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B62E | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE0E
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b62e; /* rgb */ color: rgb(178, 182, 46); /* oklch */ color: oklch(75.0% 0.151 111.3);
Tailwind
colors: {
custom: {
50: '#cdcb71',
500: '#b2b62e',
950: '#000000',
},
}SCSS
$custom: #b2b62e; $custom-light: #cdcb71; $custom-dark: #000000;
JSON
{
"hex": "#b2b62e",
"rgb": {
"r": 178,
"g": 182,
"b": 46
},
"hsl": {
"h": 61.765,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.74952,
"c": 0.15056,
"h": 111.3
},
"luminance": 0.43118
}Semantic roles & 50–950 ramp
primary
#B2B62E
secondary
#7B78C8
accent
#45E34A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B