#B3A74A#B3A74A
#B3A74A is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.115 H 102.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A74A |
|---|---|
| RGB | rgb(179, 167, 74) |
| HSL | hsl(53, 42%, 50%) |
| HSV | hsv(53, 59%, 70%) |
| CMYK | cmyk(0%, 6.7%, 58.7%, 29.8%) |
| CIE-LAB | lab(67.81, -7.55, 48.65) |
| CIE-LCH | lch(67.81, 49.24, 98.83°) |
| OKLab | oklab(71.99% -0.0239 0.1125) |
| OKLCH | oklch(71.99% 0.115 102) |
| XYZ | xyz(33.6463, 37.7168, 11.9850) |
| Luminance | 0.3772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.95
Darkkhaki
#BDB76B
ΔE00 5.57
Vomit
#A2A415
ΔE00 6.10
Puke
#A5A502
ΔE00 6.34
Muddy Yellow
#BFAC05
ΔE00 6.59
Desert
#CCAD60
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A74A #4A56B3
analogous
#B3734A #B3A74A #8BB34A
triadic
#B3A74A #4AB3A7 #A74AB3
tetradic
#B3A74A #4AB373 #4A56B3 #B34A8B
square
#B3A74A #4AB373 #4A56B3 #B34A8B
split-complementary
#B3A74A #4A8BB3 #734AB3
monochromatic
#5C5626 #887F38 #B3A74A #C6BC74 #D8D1A0
Accessibility & contrast
On white
2.46
#B3A74A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#B3A74A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A74A
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A74A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A74A | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A240
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#C09C93
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b3a74a; /* rgb */ color: rgb(179, 167, 74); /* oklch */ color: oklch(72.0% 0.115 102.0);
Tailwind
colors: {
custom: {
50: '#ccc080',
500: '#b3a74a',
950: '#000000',
},
}SCSS
$custom: #b3a74a; $custom-light: #ccc080; $custom-dark: #000000;
JSON
{
"hex": "#b3a74a",
"rgb": {
"r": 179,
"g": 167,
"b": 74
},
"hsl": {
"h": 53.143,
"s": 41.502,
"l": 49.608
},
"oklch": {
"l": 0.71992,
"c": 0.11506,
"h": 102
},
"luminance": 0.37716
}Semantic roles & 50–950 ramp
primary
#B3A74A
secondary
#949AC4
accent
#65D156
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120A
muted
#82817C