#B2AA36#B2AA36
#B2AA36 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.134 H 105.4°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AA36 |
|---|---|
| RGB | rgb(178, 170, 54) |
| HSL | hsl(56, 53%, 45%) |
| HSV | hsv(56, 70%, 70%) |
| CMYK | cmyk(0%, 4.5%, 69.7%, 30.2%) |
| CIE-LAB | lab(68.37, -10.84, 57.85) |
| CIE-LCH | lch(68.37, 58.85, 100.61°) |
| OKLab | oklab(72.36% -0.0355 0.129) |
| OKLCH | oklch(72.36% 0.134 105.4) |
| XYZ | xyz(33.4020, 38.4820, 9.1576) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.82
Vomit
#A2A415
ΔE00 3.89
Muddy Yellow
#BFAC05
ΔE00 4.72
Olive Yellow
#C2B709
ΔE00 5.47
Mustard Green
#A8B504
ΔE00 6.11
Brownish Yellow
#C9B003
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AA36 #363EB2
analogous
#B26C36 #B2AA36 #7CB236
triadic
#B2AA36 #36B2AA #AA36B2
tetradic
#B2AA36 #36B26C #363EB2 #B2367C
square
#B2AA36 #36B26C #363EB2 #B2367C
split-complementary
#B2AA36 #367CB2 #6C36B2
monochromatic
#54501A #837D28 #B2AA36 #CDC559 #DBD588
Accessibility & contrast
On white
2.41
#B2AA36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B2AA36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AA36
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AA36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AA36 | 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)
#B9A424
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2aa36; /* rgb */ color: rgb(178, 170, 54); /* oklch */ color: oklch(72.4% 0.134 105.4);
Tailwind
colors: {
custom: {
50: '#ccc374',
500: '#b2aa36',
950: '#000000',
},
}SCSS
$custom: #b2aa36; $custom-light: #ccc374; $custom-dark: #000000;
JSON
{
"hex": "#b2aa36",
"rgb": {
"r": 178,
"g": 170,
"b": 54
},
"hsl": {
"h": 56.129,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.72364,
"c": 0.13381,
"h": 105.4
},
"luminance": 0.38481
}Semantic roles & 50–950 ramp
primary
#B2AA36
secondary
#7F84C5
accent
#54DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B