#B3B728#B3B728
#B3B728 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.154 H 111.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B728 |
|---|---|
| RGB | rgb(179, 183, 40) |
| HSL | hsl(62, 64%, 44%) |
| HSV | hsv(62, 78%, 72%) |
| CMYK | cmyk(2.2%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(71.96, -17.70, 66.08) |
| CIE-LCH | lch(71.96, 68.41, 104.99°) |
| OKLab | oklab(75.22% -0.056 0.1439) |
| OKLCH | oklch(75.22% 0.154 111.3) |
| XYZ | xyz(35.9082, 43.6048, 8.5321) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.45
Snot
#ACBB0D
ΔE00 2.66
Puke Yellow
#C2BE0E
ΔE00 3.72
Bile
#B5C306
ΔE00 3.85
Baby Puke Green
#B6C406
ΔE00 4.06
Olive Yellow
#C2B709
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B728 #2C28B7
analogous
#B77328 #B3B728 #6BB728
triadic
#B3B728 #28B3B7 #B728B3
tetradic
#B3B728 #28B773 #2C28B7 #B7286B
square
#B3B728 #28B773 #2C28B7 #B7286B
split-complementary
#B3B728 #286BB7 #7328B7
monochromatic
#515312 #82851D #B3B728 #D2D646 #DFE178
Accessibility & contrast
On white
2.16
#B3B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#B3B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B728
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B728 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B235
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b3b728; /* rgb */ color: rgb(179, 183, 40); /* oklch */ color: oklch(75.2% 0.154 111.3);
Tailwind
colors: {
custom: {
50: '#cecc6f',
500: '#b3b728',
950: '#000000',
},
}SCSS
$custom: #b3b728; $custom-light: #cecc6f; $custom-dark: #000000;
JSON
{
"hex": "#b3b728",
"rgb": {
"r": 179,
"g": 183,
"b": 40
},
"hsl": {
"h": 61.678,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.75224,
"c": 0.15441,
"h": 111.3
},
"luminance": 0.43604
}Semantic roles & 50–950 ramp
primary
#B3B728
secondary
#7472C9
accent
#41E745
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B