#B3B72E#B3B72E
#B3B72E is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.3% C 0.151 H 111.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B72E |
|---|---|
| RGB | rgb(179, 183, 46) |
| HSL | hsl(62, 60%, 45%) |
| HSV | hsv(62, 75%, 72%) |
| CMYK | cmyk(2.2%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(71.99, -17.46, 64.23) |
| CIE-LCH | lch(71.99, 66.56, 105.20°) |
| OKLab | oklab(75.26% -0.0548 0.1411) |
| OKLCH | oklch(75.26% 0.151 111.2) |
| XYZ | xyz(36.0183, 43.6489, 9.1120) |
| Luminance | 0.4365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.68
Snot
#ACBB0D
ΔE00 2.87
Puke Yellow
#C2BE0E
ΔE00 4.02
Bile
#B5C306
ΔE00 4.08
Baby Puke Green
#B6C406
ΔE00 4.29
Olive Yellow
#C2B709
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B72E #322EB7
analogous
#B7772E #B3B72E #6EB72E
triadic
#B3B72E #2EB3B7 #B72EB3
tetradic
#B3B72E #2EB777 #322EB7 #B72E6E
square
#B3B72E #2EB777 #322EB7 #B72E6E
split-complementary
#B3B72E #2E6EB7 #772EB7
monochromatic
#535515 #838622 #B3B72E #CFD34F #DCDF80
Accessibility & contrast
On white
2.16
#B3B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#B3B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B72E
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B72E | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b3b72e; /* rgb */ color: rgb(179, 183, 46); /* oklch */ color: oklch(75.3% 0.151 111.2);
Tailwind
colors: {
custom: {
50: '#cdcc72',
500: '#b3b72e',
950: '#000000',
},
}SCSS
$custom: #b3b72e; $custom-light: #cdcc72; $custom-dark: #000000;
JSON
{
"hex": "#b3b72e",
"rgb": {
"r": 179,
"g": 183,
"b": 46
},
"hsl": {
"h": 61.752,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.75257,
"c": 0.15134,
"h": 111.2
},
"luminance": 0.43648
}Semantic roles & 50–950 ramp
primary
#B3B72E
secondary
#7B79C8
accent
#45E349
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B