#A28F2F#A28F2F
#A28F2F is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.9% C 0.115 H 97.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A28F2F |
|---|---|
| RGB | rgb(162, 143, 47) |
| HSL | hsl(50, 55%, 41%) |
| HSV | hsv(50, 71%, 64%) |
| CMYK | cmyk(0%, 11.7%, 71%, 36.5%) |
| CIE-LAB | lab(59.46, -3.91, 51.25) |
| CIE-LCH | lch(59.46, 51.40, 94.36°) |
| OKLab | oklab(64.93% -0.0156 0.1144) |
| OKLCH | oklch(64.93% 0.115 97.8) |
| XYZ | xyz(25.2370, 27.5328, 6.6738) |
| Luminance | 0.2753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.08
Baby Shit Brown
#AD900D
ΔE00 4.19
Dark Mustard
#A88905
ΔE00 4.60
Diarrhea
#9F8303
ΔE00 5.06
Yellowy Brown
#AE8B0C
ΔE00 5.31
Brown Yellow
#B29705
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28F2F #2F42A2
analogous
#A2552F #A28F2F #7BA22F
triadic
#A28F2F #2FA28F #8F2FA2
tetradic
#A28F2F #2FA255 #2F42A2 #A22F7B
square
#A28F2F #2FA255 #2F42A2 #A22F7B
split-complementary
#A28F2F #2F7BA2 #552FA2
monochromatic
#433B13 #736521 #A28F2F #C9B345 #D7C775
Accessibility & contrast
On white
3.23
#A28F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#A28F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28F2F
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28F2F | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#AF847C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a28f2f; /* rgb */ color: rgb(162, 143, 47); /* oklch */ color: oklch(64.9% 0.115 97.8);
Tailwind
colors: {
custom: {
50: '#c1af6d',
500: '#a28f2f',
950: '#000000',
},
}SCSS
$custom: #a28f2f; $custom-light: #c1af6d; $custom-dark: #000000;
JSON
{
"hex": "#a28f2f",
"rgb": {
"r": 162,
"g": 143,
"b": 47
},
"hsl": {
"h": 50.087,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.64925,
"c": 0.11547,
"h": 97.8
},
"luminance": 0.27532
}Semantic roles & 50–950 ramp
primary
#A28F2F
secondary
#6E7BBF
accent
#62DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A