#A28F27#A28F27
#A28F27 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.9% C 0.121 H 98.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A28F27 |
|---|---|
| RGB | rgb(162, 143, 39) |
| HSL | hsl(51, 61%, 39%) |
| HSV | hsv(51, 76%, 64%) |
| CMYK | cmyk(0%, 11.7%, 75.9%, 36.5%) |
| CIE-LAB | lab(59.41, -4.30, 54.33) |
| CIE-LCH | lch(59.41, 54.50, 94.53°) |
| OKLab | oklab(64.86% -0.0176 0.1194) |
| OKLCH | oklch(64.86% 0.121 98.4) |
| XYZ | xyz(25.0902, 27.4741, 5.9005) |
| Luminance | 0.2747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.42
Baby Shit Brown
#AD900D
ΔE00 3.66
Dark Mustard
#A88905
ΔE00 4.19
Diarrhea
#9F8303
ΔE00 4.74
Brown Yellow
#B29705
ΔE00 4.74
Yellowy Brown
#AE8B0C
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28F27 #273AA2
analogous
#A25227 #A28F27 #78A227
triadic
#A28F27 #27A28F #8F27A2
tetradic
#A28F27 #27A252 #273AA2 #A22778
square
#A28F27 #27A252 #273AA2 #A22778
split-complementary
#A28F27 #2778A2 #5227A2
monochromatic
#3F380F #71631B #A28F27 #CFB737 #DBC969
Accessibility & contrast
On white
3.23
#A28F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#A28F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28F27
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28F27 | 1.00 | 3.23 | 6.49 | 6.49 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#AF847B
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a28f27; /* rgb */ color: rgb(162, 143, 39); /* oklch */ color: oklch(64.9% 0.121 98.4);
Tailwind
colors: {
custom: {
50: '#c1af69',
500: '#a28f27',
950: '#000000',
},
}SCSS
$custom: #a28f27; $custom-light: #c1af69; $custom-dark: #000000;
JSON
{
"hex": "#a28f27",
"rgb": {
"r": 162,
"g": 143,
"b": 39
},
"hsl": {
"h": 50.732,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.64865,
"c": 0.12068,
"h": 98.4
},
"luminance": 0.27473
}Semantic roles & 50–950 ramp
primary
#A28F27
secondary
#6472C1
accent
#5CE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A