#A28B2F#A28B2F
#A28B2F is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.1% C 0.112 H 94.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A28B2F |
|---|---|
| RGB | rgb(162, 139, 47) |
| HSL | hsl(48, 55%, 41%) |
| HSV | hsv(48, 71%, 64%) |
| CMYK | cmyk(0%, 14.2%, 71%, 36.5%) |
| CIE-LAB | lab(58.37, -1.72, 50.15) |
| CIE-LCH | lch(58.37, 50.18, 91.96°) |
| OKLab | oklab(64.06% -0.0094 0.1121) |
| OKLCH | oklch(64.06% 0.112 94.8) |
| XYZ | xyz(24.6472, 26.3532, 6.4772) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 3.83
Diarrhea
#9F8303
ΔE00 3.98
Baby Shit Brown
#AD900D
ΔE00 4.23
Baby Poo
#AB9004
ΔE00 4.32
Yellowy Brown
#AE8B0C
ΔE00 4.51
Dark Gold
#B59410
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28B2F #2F46A2
analogous
#A2512F #A28B2F #7FA22F
triadic
#A28B2F #2FA28B #8B2FA2
tetradic
#A28B2F #2FA251 #2F46A2 #A22F7F
square
#A28B2F #2FA251 #2F46A2 #A22F7F
split-complementary
#A28B2F #2F7FA2 #512FA2
monochromatic
#433A13 #736221 #A28B2F #C9AF45 #D7C375
Accessibility & contrast
On white
3.35
#A28B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#A28B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28B2F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28B2F | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#AF8078
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a28b2f; /* rgb */ color: rgb(162, 139, 47); /* oklch */ color: oklch(64.1% 0.112 94.8);
Tailwind
colors: {
custom: {
50: '#c1ac6d',
500: '#a28b2f',
950: '#000000',
},
}SCSS
$custom: #a28b2f; $custom-light: #c1ac6d; $custom-dark: #000000;
JSON
{
"hex": "#a28b2f",
"rgb": {
"r": 162,
"g": 139,
"b": 47
},
"hsl": {
"h": 48,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.64059,
"c": 0.11245,
"h": 94.8
},
"luminance": 0.26352
}Semantic roles & 50–950 ramp
primary
#A28B2F
secondary
#6E7EBF
accent
#67DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A