#B2AA3E#B2AA3E
#B2AA3E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.128 H 105.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AA3E |
|---|---|
| RGB | rgb(178, 170, 62) |
| HSL | hsl(56, 48%, 47%) |
| HSV | hsv(56, 65%, 70%) |
| CMYK | cmyk(0%, 4.5%, 65.2%, 30.2%) |
| CIE-LAB | lab(68.43, -10.38, 54.65) |
| CIE-LCH | lch(68.43, 55.63, 100.75°) |
| OKLab | oklab(72.43% -0.0333 0.1236) |
| OKLCH | oklch(72.43% 0.128 105.1) |
| XYZ | xyz(33.6056, 38.5634, 10.2298) |
| Luminance | 0.3856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.39
Puke
#A5A502
ΔE00 4.50
Muddy Yellow
#BFAC05
ΔE00 5.40
Olive Yellow
#C2B709
ΔE00 6.13
Darkkhaki
#BDB76B
ΔE00 6.25
Khaki (survey)
#AAA662
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AA3E #3E46B2
analogous
#B2703E #B2AA3E #80B23E
triadic
#B2AA3E #3EB2AA #AA3EB2
tetradic
#B2AA3E #3EB270 #3E46B2 #B23E80
square
#B2AA3E #3EB270 #3E46B2 #B23E80
split-complementary
#B2AA3E #3E80B2 #703EB2
monochromatic
#57531E #857F2E #B2AA3E #C9C264 #D9D492
Accessibility & contrast
On white
2.41
#B2AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#B2AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AA3E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AA3E | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A430
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#BF9F94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2aa3e; /* rgb */ color: rgb(178, 170, 62); /* oklch */ color: oklch(72.4% 0.128 105.1);
Tailwind
colors: {
custom: {
50: '#ccc379',
500: '#b2aa3e',
950: '#000000',
},
}SCSS
$custom: #b2aa3e; $custom-light: #ccc379; $custom-dark: #000000;
JSON
{
"hex": "#b2aa3e",
"rgb": {
"r": 178,
"g": 170,
"b": 62
},
"hsl": {
"h": 55.862,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.72431,
"c": 0.12802,
"h": 105.1
},
"luminance": 0.38562
}Semantic roles & 50–950 ramp
primary
#B2AA3E
secondary
#888CC4
accent
#59D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B