#A28E2F#A28E2F
#A28E2F is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.115 H 97.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A28E2F |
|---|---|
| RGB | rgb(162, 142, 47) |
| HSL | hsl(50, 55%, 41%) |
| HSV | hsv(50, 71%, 64%) |
| CMYK | cmyk(0%, 12.3%, 71%, 36.5%) |
| CIE-LAB | lab(59.19, -3.36, 50.98) |
| CIE-LCH | lch(59.19, 51.09, 93.77°) |
| OKLab | oklab(64.71% -0.0141 0.1138) |
| OKLCH | oklch(64.71% 0.115 97.1) |
| XYZ | xyz(25.0876, 27.2339, 6.6240) |
| Luminance | 0.2723 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.06
Baby Shit Brown
#AD900D
ΔE00 4.13
Dark Mustard
#A88905
ΔE00 4.35
Diarrhea
#9F8303
ΔE00 4.75
Yellowy Brown
#AE8B0C
ΔE00 5.06
Brown Yellow
#B29705
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28E2F #2F43A2
analogous
#A2542F #A28E2F #7CA22F
triadic
#A28E2F #2FA28E #8E2FA2
tetradic
#A28E2F #2FA254 #2F43A2 #A22F7C
square
#A28E2F #2FA254 #2F43A2 #A22F7C
split-complementary
#A28E2F #2F7CA2 #542FA2
monochromatic
#433B13 #736421 #A28E2F #C9B245 #D7C675
Accessibility & contrast
On white
3.26
#A28E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#A28E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28E2F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28E2F | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8B21
Deuteranopia (green-blind)
#A29134
Tritanopia (blue-blind)
#AF837B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a28e2f; /* rgb */ color: rgb(162, 142, 47); /* oklch */ color: oklch(64.7% 0.115 97.1);
Tailwind
colors: {
custom: {
50: '#c1ae6d',
500: '#a28e2f',
950: '#000000',
},
}SCSS
$custom: #a28e2f; $custom-light: #c1ae6d; $custom-dark: #000000;
JSON
{
"hex": "#a28e2f",
"rgb": {
"r": 162,
"g": 142,
"b": 47
},
"hsl": {
"h": 49.565,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.64708,
"c": 0.11468,
"h": 97.1
},
"luminance": 0.27233
}Semantic roles & 50–950 ramp
primary
#A28E2F
secondary
#6E7CBF
accent
#63DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A