#B2B62A#B2B62A
#B2B62A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.153 H 111.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B62A |
|---|---|
| RGB | rgb(178, 182, 42) |
| HSL | hsl(62, 63%, 44%) |
| HSV | hsv(62, 77%, 71%) |
| CMYK | cmyk(2.2%, 0%, 76.9%, 28.6%) |
| CIE-LAB | lab(71.62, -17.55, 65.13) |
| CIE-LCH | lch(71.62, 67.45, 105.08°) |
| OKLab | oklab(74.93% -0.0554 0.1423) |
| OKLCH | oklch(74.93% 0.153 111.3) |
| XYZ | xyz(35.5072, 43.0890, 8.6366) |
| Luminance | 0.4309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.46
Snot
#ACBB0D
ΔE00 2.82
Puke Yellow
#C2BE0E
ΔE00 4.03
Bile
#B5C306
ΔE00 4.15
Baby Puke Green
#B6C406
ΔE00 4.36
Olive Yellow
#C2B709
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B62A #2E2AB6
analogous
#B6742A #B2B62A #6CB62A
triadic
#B2B62A #2AB2B6 #B62AB2
tetradic
#B2B62A #2AB674 #2E2AB6 #B62A6C
square
#B2B62A #2AB674 #2E2AB6 #B62A6C
split-complementary
#B2B62A #2A6CB6 #742AB6
monochromatic
#515313 #81841F #B2B62A #D1D548 #DDE07A
Accessibility & contrast
On white
2.18
#B2B62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#B2B62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B62A
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B62A | 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)
#C5AE00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b62a; /* rgb */ color: rgb(178, 182, 42); /* oklch */ color: oklch(74.9% 0.153 111.3);
Tailwind
colors: {
custom: {
50: '#cdcb70',
500: '#b2b62a',
950: '#000000',
},
}SCSS
$custom: #b2b62a; $custom-light: #cdcb70; $custom-dark: #000000;
JSON
{
"hex": "#b2b62a",
"rgb": {
"r": 178,
"g": 182,
"b": 42
},
"hsl": {
"h": 61.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.74929,
"c": 0.15266,
"h": 111.3
},
"luminance": 0.43088
}Semantic roles & 50–950 ramp
primary
#B2B62A
secondary
#7673C8
accent
#42E647
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B