#B3AA45#B3AA45
#B3AA45 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.122 H 104.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AA45 |
|---|---|
| RGB | rgb(179, 170, 69) |
| HSL | hsl(55, 44%, 49%) |
| HSV | hsv(55, 61%, 70%) |
| CMYK | cmyk(0%, 5%, 61.5%, 29.8%) |
| CIE-LAB | lab(68.58, -9.49, 51.79) |
| CIE-LCH | lch(68.58, 52.65, 100.39°) |
| OKLab | oklab(72.59% -0.03 0.1186) |
| OKLCH | oklch(72.59% 0.122 104.2) |
| XYZ | xyz(34.0405, 38.7640, 11.3182) |
| Luminance | 0.3876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.14
Puke
#A5A502
ΔE00 5.34
Darkkhaki
#BDB76B
ΔE00 5.56
Khaki (survey)
#AAA662
ΔE00 5.69
Muddy Yellow
#BFAC05
ΔE00 5.93
Olive Yellow
#C2B709
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AA45 #454EB3
analogous
#B37345 #B3AA45 #85B345
triadic
#B3AA45 #45B3AA #AA45B3
tetradic
#B3AA45 #45B373 #454EB3 #B34585
square
#B3AA45 #45B373 #454EB3 #B34585
split-complementary
#B3AA45 #4585B3 #7345B3
monochromatic
#5B5623 #878034 #B3AA45 #C7C06E #D8D39A
Accessibility & contrast
On white
2.40
#B3AA45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B3AA45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AA45
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AA45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AA45 | 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)
#B8A439
Deuteranopia (green-blind)
#BBAA4B
Tritanopia (blue-blind)
#C09F94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b3aa45; /* rgb */ color: rgb(179, 170, 69); /* oklch */ color: oklch(72.6% 0.122 104.2);
Tailwind
colors: {
custom: {
50: '#ccc37d',
500: '#b3aa45',
950: '#000000',
},
}SCSS
$custom: #b3aa45; $custom-light: #ccc37d; $custom-dark: #000000;
JSON
{
"hex": "#b3aa45",
"rgb": {
"r": 179,
"g": 170,
"b": 69
},
"hsl": {
"h": 55.091,
"s": 44.355,
"l": 48.627
},
"oklch": {
"l": 0.72587,
"c": 0.12231,
"h": 104.2
},
"luminance": 0.38763
}Semantic roles & 50–950 ramp
primary
#B3AA45
secondary
#8F94C4
accent
#5ED454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C