#B2B72B#B2B72B
#B2B72B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.153 H 111.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B72B |
|---|---|
| RGB | rgb(178, 183, 43) |
| HSL | hsl(62, 62%, 44%) |
| HSV | hsv(62, 77%, 72%) |
| CMYK | cmyk(2.7%, 0%, 76.5%, 28.2%) |
| CIE-LAB | lab(71.90, -18.01, 65.08) |
| CIE-LCH | lch(71.90, 67.52, 105.47°) |
| OKLab | oklab(75.16% -0.0566 0.1423) |
| OKLCH | oklch(75.16% 0.153 111.7) |
| XYZ | xyz(35.7309, 43.5073, 8.8006) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.39
Snot
#ACBB0D
ΔE00 2.59
Bile
#B5C306
ΔE00 3.90
Puke Yellow
#C2BE0E
ΔE00 4.05
Baby Puke Green
#B6C406
ΔE00 4.12
Puke Green
#9AAE07
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B72B #302BB7
analogous
#B7762B #B2B72B #6CB72B
triadic
#B2B72B #2BB2B7 #B72BB2
tetradic
#B2B72B #2BB776 #302BB7 #B72B6C
square
#B2B72B #2BB776 #302BB7 #B72B6C
split-complementary
#B2B72B #2B6CB7 #762BB7
monochromatic
#525414 #82851F #B2B72B #D0D54B #DDE07C
Accessibility & contrast
On white
2.16
#B2B72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#B2B72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B72B
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B72B | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE03
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#BFAB9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b72b; /* rgb */ color: rgb(178, 183, 43); /* oklch */ color: oklch(75.2% 0.153 111.7);
Tailwind
colors: {
custom: {
50: '#cdcc70',
500: '#b2b72b',
950: '#000000',
},
}SCSS
$custom: #b2b72b; $custom-light: #cdcc70; $custom-dark: #000000;
JSON
{
"hex": "#b2b72b",
"rgb": {
"r": 178,
"g": 183,
"b": 43
},
"hsl": {
"h": 62.143,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.75157,
"c": 0.15317,
"h": 111.7
},
"luminance": 0.43506
}Semantic roles & 50–950 ramp
primary
#B2B72B
secondary
#7875C9
accent
#43E549
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B