#B2B62D#B2B62D
#B2B62D is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.151 H 111.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B62D |
|---|---|
| RGB | rgb(178, 182, 45) |
| HSL | hsl(62, 60%, 45%) |
| HSV | hsv(62, 75%, 71%) |
| CMYK | cmyk(2.2%, 0%, 75.3%, 28.6%) |
| CIE-LAB | lab(71.63, -17.42, 64.19) |
| CIE-LCH | lch(71.63, 66.51, 105.19°) |
| OKLab | oklab(74.95% -0.0548 0.1408) |
| OKLCH | oklch(74.95% 0.151 111.3) |
| XYZ | xyz(35.5629, 43.1113, 8.9301) |
| Luminance | 0.4311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.59
Snot
#ACBB0D
ΔE00 2.93
Puke Yellow
#C2BE0E
ΔE00 4.18
Bile
#B5C306
ΔE00 4.27
Baby Puke Green
#B6C406
ΔE00 4.48
Olive Yellow
#C2B709
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B62D #312DB6
analogous
#B6762D #B2B62D #6EB62D
triadic
#B2B62D #2DB2B6 #B62DB2
tetradic
#B2B62D #2DB676 #312DB6 #B62D6E
square
#B2B62D #2DB676 #312DB6 #B62D6E
split-complementary
#B2B62D #2D6EB6 #762DB6
monochromatic
#525415 #828521 #B2B62D #CFD34D #DCDF7E
Accessibility & contrast
On white
2.18
#B2B62D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#B2B62D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B62D
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B62D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B62D | 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)
#C4AE0B
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b62d; /* rgb */ color: rgb(178, 182, 45); /* oklch */ color: oklch(74.9% 0.151 111.3);
Tailwind
colors: {
custom: {
50: '#cdcb71',
500: '#b2b62d',
950: '#000000',
},
}SCSS
$custom: #b2b62d; $custom-light: #cdcb71; $custom-dark: #000000;
JSON
{
"hex": "#b2b62d",
"rgb": {
"r": 178,
"g": 182,
"b": 45
},
"hsl": {
"h": 61.752,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.74946,
"c": 0.15111,
"h": 111.3
},
"luminance": 0.4311
}Semantic roles & 50–950 ramp
primary
#B2B62D
secondary
#7977C8
accent
#44E349
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B