#A28A2F#A28A2F
#A28A2F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.112 H 94.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A28A2F |
|---|---|
| RGB | rgb(162, 138, 47) |
| HSL | hsl(47, 55%, 41%) |
| HSV | hsv(47, 71%, 64%) |
| CMYK | cmyk(0%, 14.8%, 71%, 36.5%) |
| CIE-LAB | lab(58.10, -1.17, 49.88) |
| CIE-LCH | lch(58.10, 49.89, 91.34°) |
| OKLab | oklab(63.84% -0.0078 0.1115) |
| OKLCH | oklch(63.84% 0.112 94) |
| XYZ | xyz(24.5031, 26.0649, 6.4292) |
| Luminance | 0.2606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 3.75
Diarrhea
#9F8303
ΔE00 3.80
Baby Shit Brown
#AD900D
ΔE00 4.36
Yellowy Brown
#AE8B0C
ΔE00 4.41
Baby Poo
#AB9004
ΔE00 4.50
Dark Gold
#B59410
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28A2F #2F47A2
analogous
#A2502F #A28A2F #80A22F
triadic
#A28A2F #2FA28A #8A2FA2
tetradic
#A28A2F #2FA250 #2F47A2 #A22F80
square
#A28A2F #2FA250 #2F47A2 #A22F80
split-complementary
#A28A2F #2F80A2 #502FA2
monochromatic
#433913 #736221 #A28A2F #C9AE45 #D7C275
Accessibility & contrast
On white
3.38
#A28A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#A28A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28A2F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28A2F | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998722
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#AF7F77
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a28a2f; /* rgb */ color: rgb(162, 138, 47); /* oklch */ color: oklch(63.8% 0.112 94.0);
Tailwind
colors: {
custom: {
50: '#c1ab6d',
500: '#a28a2f',
950: '#000000',
},
}SCSS
$custom: #a28a2f; $custom-light: #c1ab6d; $custom-dark: #000000;
JSON
{
"hex": "#a28a2f",
"rgb": {
"r": 162,
"g": 138,
"b": 47
},
"hsl": {
"h": 47.478,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.63844,
"c": 0.11175,
"h": 94
},
"luminance": 0.26064
}Semantic roles & 50–950 ramp
primary
#A28A2F
secondary
#6E7FBF
accent
#69DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A