#B3AA28#B3AA28
#B3AA28 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.142 H 105.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AA28 |
|---|---|
| RGB | rgb(179, 170, 40) |
| HSL | hsl(56, 63%, 43%) |
| HSV | hsv(56, 78%, 70%) |
| CMYK | cmyk(0%, 5%, 77.7%, 29.8%) |
| CIE-LAB | lab(68.38, -11.04, 62.85) |
| CIE-LCH | lch(68.38, 63.81, 99.97°) |
| OKLab | oklab(72.36% -0.0374 0.137) |
| OKLCH | oklch(72.36% 0.142 105.3) |
| XYZ | xyz(33.3496, 38.4877, 7.6792) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.26
Muddy Yellow
#BFAC05
ΔE00 3.61
Vomit
#A2A415
ΔE00 3.73
Olive Yellow
#C2B709
ΔE00 4.54
Brownish Yellow
#C9B003
ΔE00 5.54
Mustard Green
#A8B504
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AA28 #2831B3
analogous
#B36428 #B3AA28 #76B328
triadic
#B3AA28 #28B3AA #AA28B3
tetradic
#B3AA28 #28B364 #2831B3 #B32876
square
#B3AA28 #28B364 #2831B3 #B32876
split-complementary
#B3AA28 #2876B3 #6428B3
monochromatic
#4F4B12 #817A1D #B3AA28 #D5CC43 #E0D975
Accessibility & contrast
On white
2.41
#B3AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B3AA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AA28
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AA28 | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A404
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#C19E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b3aa28; /* rgb */ color: rgb(179, 170, 40); /* oklch */ color: oklch(72.4% 0.142 105.3);
Tailwind
colors: {
custom: {
50: '#cec26d',
500: '#b3aa28',
950: '#000000',
},
}SCSS
$custom: #b3aa28; $custom-light: #cec26d; $custom-dark: #000000;
JSON
{
"hex": "#b3aa28",
"rgb": {
"r": 179,
"g": 170,
"b": 40
},
"hsl": {
"h": 56.115,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.72362,
"c": 0.14202,
"h": 105.3
},
"luminance": 0.38486
}Semantic roles & 50–950 ramp
primary
#B3AA28
secondary
#6F75C8
accent
#4CE641
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B