#B2A74A#B2A74A
#B2A74A is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.115 H 102.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A74A |
|---|---|
| RGB | rgb(178, 167, 74) |
| HSL | hsl(54, 41%, 49%) |
| HSV | hsv(54, 58%, 70%) |
| CMYK | cmyk(0%, 6.2%, 58.4%, 30.2%) |
| CIE-LAB | lab(67.72, -7.98, 48.53) |
| CIE-LCH | lch(67.72, 49.18, 99.34°) |
| OKLab | oklab(71.9% -0.0251 0.1123) |
| OKLCH | oklch(71.9% 0.115 102.6) |
| XYZ | xyz(33.4160, 37.5981, 11.9742) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.81
Darkkhaki
#BDB76B
ΔE00 5.53
Vomit
#A2A415
ΔE00 5.93
Puke
#A5A502
ΔE00 6.22
Muddy Yellow
#BFAC05
ΔE00 6.72
Desert
#CCAD60
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A74A #4A55B2
analogous
#B2734A #B2A74A #89B24A
triadic
#B2A74A #4AB2A7 #A74AB2
tetradic
#B2A74A #4AB273 #4A55B2 #B24A89
square
#B2A74A #4AB273 #4A55B2 #B24A89
split-complementary
#B2A74A #4A89B2 #734AB2
monochromatic
#5C5626 #877E38 #B2A74A #C5BD74 #D7D19F
Accessibility & contrast
On white
2.46
#B2A74A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#B2A74A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A74A
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A74A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A74A | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A240
Deuteranopia (green-blind)
#B8A74F
Tritanopia (blue-blind)
#BE9D93
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b2a74a; /* rgb */ color: rgb(178, 167, 74); /* oklch */ color: oklch(71.9% 0.115 102.6);
Tailwind
colors: {
custom: {
50: '#cbc080',
500: '#b2a74a',
950: '#000000',
},
}SCSS
$custom: #b2a74a; $custom-light: #cbc080; $custom-dark: #000000;
JSON
{
"hex": "#b2a74a",
"rgb": {
"r": 178,
"g": 167,
"b": 74
},
"hsl": {
"h": 53.654,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.71901,
"c": 0.11507,
"h": 102.6
},
"luminance": 0.37597
}Semantic roles & 50–950 ramp
primary
#B2A74A
secondary
#9499C4
accent
#64D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120A
muted
#82817C