#B3A254#B3A254
#B3A254 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.101 H 97.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A254 |
|---|---|
| RGB | rgb(179, 162, 84) |
| HSL | hsl(49, 38%, 52%) |
| HSV | hsv(49, 53%, 70%) |
| CMYK | cmyk(0%, 9.5%, 53.1%, 29.8%) |
| CIE-LAB | lab(66.57, -4.09, 42.38) |
| CIE-LCH | lch(66.57, 42.58, 95.51°) |
| OKLab | oklab(71.04% -0.0128 0.1001) |
| OKLCH | oklch(71.04% 0.101 97.3) |
| XYZ | xyz(33.1121, 36.0658, 13.6030) |
| Luminance | 0.3606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.50
Sandy Brown
#C4A661
ΔE00 5.10
Desert
#CCAD60
ΔE00 5.89
Darkkhaki
#BDB76B
ΔE00 6.42
Sandstone
#C9AE74
ΔE00 6.97
Dark Khaki
#9B8F55
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A254 #5465B3
analogous
#B37354 #B3A254 #95B354
triadic
#B3A254 #54B3A2 #A254B3
tetradic
#B3A254 #54B373 #5465B3 #B35495
square
#B3A254 #54B373 #5465B3 #B35495
split-complementary
#B3A254 #5495B3 #7354B3
monochromatic
#61582B #8C7E3E #B3A254 #C6B97E #D9D0A9
Accessibility & contrast
On white
2.56
#B3A254 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#B3A254 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A254
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A254 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A254 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F4D
Deuteranopia (green-blind)
#B4A457
Tritanopia (blue-blind)
#BF9890
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b3a254; /* rgb */ color: rgb(179, 162, 84); /* oklch */ color: oklch(71.0% 0.101 97.3);
Tailwind
colors: {
custom: {
50: '#ccbd86',
500: '#b3a254',
950: '#000000',
},
}SCSS
$custom: #b3a254; $custom-light: #ccbd86; $custom-dark: #000000;
JSON
{
"hex": "#b3a254",
"rgb": {
"r": 179,
"g": 162,
"b": 84
},
"hsl": {
"h": 49.263,
"s": 38.462,
"l": 51.569
},
"oklch": {
"l": 0.71043,
"c": 0.10092,
"h": 97.3
},
"luminance": 0.36064
}Semantic roles & 50–950 ramp
primary
#B3A254
secondary
#9DA4C6
accent
#6ECE59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C