#B2B62B#B2B62B
#B2B62B is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.152 H 111.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B62B |
|---|---|
| RGB | rgb(178, 182, 43) |
| HSL | hsl(62, 62%, 44%) |
| HSV | hsv(62, 76%, 71%) |
| CMYK | cmyk(2.2%, 0%, 76.4%, 28.6%) |
| CIE-LAB | lab(71.62, -17.51, 64.82) |
| CIE-LCH | lch(71.62, 67.14, 105.11°) |
| OKLab | oklab(74.94% -0.0552 0.1418) |
| OKLCH | oklch(74.94% 0.152 111.3) |
| XYZ | xyz(35.5253, 43.0962, 8.7321) |
| Luminance | 0.4309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.50
Snot
#ACBB0D
ΔE00 2.85
Puke Yellow
#C2BE0E
ΔE00 4.08
Bile
#B5C306
ΔE00 4.19
Baby Puke Green
#B6C406
ΔE00 4.40
Olive Yellow
#C2B709
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B62B #2F2BB6
analogous
#B6752B #B2B62B #6CB62B
triadic
#B2B62B #2BB2B6 #B62BB2
tetradic
#B2B62B #2BB675 #2F2BB6 #B62B6C
square
#B2B62B #2BB675 #2F2BB6 #B62B6C
split-complementary
#B2B62B #2B6CB6 #752BB6
monochromatic
#515314 #82841F #B2B62B #D0D44A #DDE07B
Accessibility & contrast
On white
2.18
#B2B62B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#B2B62B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B62B
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B62B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B62B | 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)
#C5AE04
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b62b; /* rgb */ color: rgb(178, 182, 43); /* oklch */ color: oklch(74.9% 0.152 111.3);
Tailwind
colors: {
custom: {
50: '#cdcb70',
500: '#b2b62b',
950: '#000000',
},
}SCSS
$custom: #b2b62b; $custom-light: #cdcb70; $custom-dark: #000000;
JSON
{
"hex": "#b2b62b",
"rgb": {
"r": 178,
"g": 182,
"b": 43
},
"hsl": {
"h": 61.727,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.74935,
"c": 0.15216,
"h": 111.3
},
"luminance": 0.43095
}Semantic roles & 50–950 ramp
primary
#B2B62B
secondary
#7775C8
accent
#43E548
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B