#B2A24A#B2A24A
#B2A24A is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.110 H 99.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A24A |
|---|---|
| RGB | rgb(178, 162, 74) |
| HSL | hsl(51, 41%, 49%) |
| HSV | hsv(51, 58%, 70%) |
| CMYK | cmyk(0%, 9%, 58.4%, 30.2%) |
| CIE-LAB | lab(66.37, -5.33, 47.00) |
| CIE-LCH | lch(66.37, 47.30, 96.47°) |
| OKLab | oklab(70.83% -0.0175 0.109) |
| OKLCH | oklch(70.83% 0.11 99.1) |
| XYZ | xyz(32.5177, 35.8014, 11.6747) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.17
Sandy Brown
#C4A661
ΔE00 6.23
Desert
#CCAD60
ΔE00 6.61
Brown Yellow
#B29705
ΔE00 6.63
Darkkhaki
#BDB76B
ΔE00 6.73
Vomit
#A2A415
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A24A #4A5AB2
analogous
#B26E4A #B2A24A #8EB24A
triadic
#B2A24A #4AB2A2 #A24AB2
tetradic
#B2A24A #4AB26E #4A5AB2 #B24A8E
square
#B2A24A #4AB26E #4A5AB2 #B24A8E
split-complementary
#B2A24A #4A8EB2 #6E4AB2
monochromatic
#5C5326 #877B38 #B2A24A #C5B974 #D7CF9F
Accessibility & contrast
On white
2.57
#B2A24A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#B2A24A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A24A
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A24A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A24A | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E41
Deuteranopia (green-blind)
#B4A44E
Tritanopia (blue-blind)
#BF978F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b2a24a; /* rgb */ color: rgb(178, 162, 74); /* oklch */ color: oklch(70.8% 0.110 99.1);
Tailwind
colors: {
custom: {
50: '#cbbd80',
500: '#b2a24a',
950: '#000000',
},
}SCSS
$custom: #b2a24a; $custom-light: #cbbd80; $custom-dark: #000000;
JSON
{
"hex": "#b2a24a",
"rgb": {
"r": 178,
"g": 162,
"b": 74
},
"hsl": {
"h": 50.769,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.70825,
"c": 0.11042,
"h": 99.1
},
"luminance": 0.358
}Semantic roles & 50–950 ramp
primary
#B2A24A
secondary
#949BC4
accent
#6AD157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C