#B2B72E#B2B72E
#B2B72E is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.152 H 111.7°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B72E |
|---|---|
| RGB | rgb(178, 183, 46) |
| HSL | hsl(62, 60%, 45%) |
| HSV | hsv(62, 75%, 72%) |
| CMYK | cmyk(2.7%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(71.91, -17.89, 64.13) |
| CIE-LCH | lch(71.91, 66.58, 105.58°) |
| OKLab | oklab(75.17% -0.056 0.1409) |
| OKLCH | oklch(75.17% 0.152 111.7) |
| XYZ | xyz(35.7879, 43.5301, 9.1012) |
| Luminance | 0.4353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.72
Bile
#B5C306
ΔE00 4.03
Puke Yellow
#C2BE0E
ΔE00 4.21
Baby Puke Green
#B6C406
ΔE00 4.25
Puke Green
#9AAE07
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B72E #332EB7
analogous
#B7782E #B2B72E #6DB72E
triadic
#B2B72E #2EB2B7 #B72EB2
tetradic
#B2B72E #2EB778 #332EB7 #B72E6D
square
#B2B72E #2EB778 #332EB7 #B72E6D
split-complementary
#B2B72E #2E6DB7 #782EB7
monochromatic
#535515 #828622 #B2B72E #CED34F #DCDF80
Accessibility & contrast
On white
2.16
#B2B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#B2B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B72E
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B72E | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#BEAC9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b72e; /* rgb */ color: rgb(178, 183, 46); /* oklch */ color: oklch(75.2% 0.152 111.7);
Tailwind
colors: {
custom: {
50: '#cdcc72',
500: '#b2b72e',
950: '#000000',
},
}SCSS
$custom: #b2b72e; $custom-light: #cdcc72; $custom-dark: #000000;
JSON
{
"hex": "#b2b72e",
"rgb": {
"r": 178,
"g": 183,
"b": 46
},
"hsl": {
"h": 62.19,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.75174,
"c": 0.15159,
"h": 111.7
},
"luminance": 0.43529
}Semantic roles & 50–950 ramp
primary
#B2B72E
secondary
#7C79C8
accent
#45E34B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B