#B2B629#B2B629
#B2B629 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 | #B2B629 |
|---|---|
| RGB | rgb(178, 182, 41) |
| HSL | hsl(62, 63%, 44%) |
| HSV | hsv(62, 77%, 71%) |
| CMYK | cmyk(2.2%, 0%, 77.5%, 28.6%) |
| CIE-LAB | lab(71.61, -17.59, 65.43) |
| CIE-LCH | lch(71.61, 67.75, 105.04°) |
| OKLab | oklab(74.92% -0.0556 0.1427) |
| OKLCH | oklch(74.92% 0.153 111.3) |
| XYZ | xyz(35.4895, 43.0819, 8.5435) |
| Luminance | 0.4308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.42
Snot
#ACBB0D
ΔE00 2.78
Puke Yellow
#C2BE0E
ΔE00 3.98
Bile
#B5C306
ΔE00 4.12
Baby Puke Green
#B6C406
ΔE00 4.33
Olive Yellow
#C2B709
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B629 #2D29B6
analogous
#B67329 #B2B629 #6BB629
triadic
#B2B629 #29B2B6 #B629B2
tetradic
#B2B629 #29B673 #2D29B6 #B6296B
square
#B2B629 #29B673 #2D29B6 #B6296B
split-complementary
#B2B629 #296BB6 #7329B6
monochromatic
#505212 #81841E #B2B629 #D1D547 #DEE179
Accessibility & contrast
On white
2.18
#B2B629 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#B2B629 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B629
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B629 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B629 | 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: #b2b629; /* rgb */ color: rgb(178, 182, 41); /* oklch */ color: oklch(74.9% 0.153 111.3);
Tailwind
colors: {
custom: {
50: '#cdcb6f',
500: '#b2b629',
950: '#000000',
},
}SCSS
$custom: #b2b629; $custom-light: #cdcb6f; $custom-dark: #000000;
JSON
{
"hex": "#b2b629",
"rgb": {
"r": 178,
"g": 182,
"b": 41
},
"hsl": {
"h": 61.702,
"s": 63.229,
"l": 43.725
},
"oklch": {
"l": 0.74924,
"c": 0.15317,
"h": 111.3
},
"luminance": 0.43081
}Semantic roles & 50–950 ramp
primary
#B2B629
secondary
#7572C9
accent
#42E646
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B