#B3AA42#B3AA42
#B3AA42 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.125 H 104.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AA42 |
|---|---|
| RGB | rgb(179, 170, 66) |
| HSL | hsl(55, 46%, 48%) |
| HSV | hsv(55, 63%, 70%) |
| CMYK | cmyk(0%, 5%, 63.1%, 29.8%) |
| CIE-LAB | lab(68.55, -9.69, 53.09) |
| CIE-LCH | lch(68.55, 53.97, 100.35°) |
| OKLab | oklab(72.56% -0.031 0.1209) |
| OKLCH | oklch(72.56% 0.125 104.4) |
| XYZ | xyz(33.9497, 38.7277, 10.8401) |
| Luminance | 0.3873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.88
Puke
#A5A502
ΔE00 5.02
Muddy Yellow
#BFAC05
ΔE00 5.61
Darkkhaki
#BDB76B
ΔE00 5.86
Khaki (survey)
#AAA662
ΔE00 6.05
Olive Yellow
#C2B709
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AA42 #424BB3
analogous
#B37142 #B3AA42 #83B342
triadic
#B3AA42 #42B3AA #AA42B3
tetradic
#B3AA42 #42B371 #424BB3 #B34283
square
#B3AA42 #42B371 #424BB3 #B34283
split-complementary
#B3AA42 #4283B3 #7142B3
monochromatic
#5A5521 #868032 #B3AA42 #C8C16A #D9D397
Accessibility & contrast
On white
2.40
#B3AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B3AA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AA42
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AA42 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#C09F94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b3aa42; /* rgb */ color: rgb(179, 170, 66); /* oklch */ color: oklch(72.6% 0.125 104.4);
Tailwind
colors: {
custom: {
50: '#cdc37b',
500: '#b3aa42',
950: '#000000',
},
}SCSS
$custom: #b3aa42; $custom-light: #cdc37b; $custom-dark: #000000;
JSON
{
"hex": "#b3aa42",
"rgb": {
"r": 179,
"g": 170,
"b": 66
},
"hsl": {
"h": 55.221,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.72557,
"c": 0.12478,
"h": 104.4
},
"luminance": 0.38727
}Semantic roles & 50–950 ramp
primary
#B3AA42
secondary
#8C91C4
accent
#5DD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C