#AFA273#AFA273
#AFA273 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.065 H 94.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA273 |
|---|---|
| RGB | rgb(175, 162, 115) |
| HSL | hsl(47, 27%, 57%) |
| HSV | hsv(47, 34%, 69%) |
| CMYK | cmyk(0%, 7.4%, 34.3%, 31.4%) |
| CIE-LAB | lab(66.67, -2.46, 26.20) |
| CIE-LCH | lch(66.67, 26.31, 95.35°) |
| OKLab | oklab(71.18% -0.0051 0.0653) |
| OKLCH | oklch(71.18% 0.065 94.5) |
| XYZ | xyz(33.6945, 36.1934, 21.4274) |
| Luminance | 0.3619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.86
Stone (survey)
#ADA587
ΔE00 4.96
Putty
#BEAE8A
ΔE00 5.26
Dust
#B2996E
ΔE00 5.27
Khaki (survey)
#AAA662
ΔE00 5.55
Bland
#AFA88B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA273 #7380AF
analogous
#AF8473 #AFA273 #9EAF73
triadic
#AFA273 #73AFA2 #A273AF
tetradic
#AFA273 #73AF84 #7380AF #AF739E
square
#AFA273 #73AF84 #7380AF #AF739E
split-complementary
#AFA273 #739EAF #8473AF
monochromatic
#6B613D #928453 #AFA273 #C5BC9A #DCD6C1
Accessibility & contrast
On white
2.55
#AFA273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#AFA273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA273
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA273 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ACA070
Deuteranopia (green-blind)
#AFA475
Tritanopia (blue-blind)
#B89B96
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa273; /* rgb */ color: rgb(175, 162, 115); /* oklch */ color: oklch(71.2% 0.065 94.5);
Tailwind
colors: {
custom: {
50: '#c8bd9b',
500: '#afa273',
950: '#000000',
},
}SCSS
$custom: #afa273; $custom-light: #c8bd9b; $custom-dark: #000000;
JSON
{
"hex": "#afa273",
"rgb": {
"r": 175,
"g": 162,
"b": 115
},
"hsl": {
"h": 47,
"s": 27.273,
"l": 56.863
},
"oklch": {
"l": 0.71183,
"c": 0.06548,
"h": 94.5
},
"luminance": 0.36192
}Semantic roles & 50–950 ramp
primary
#AFA273
secondary
#B3B8CB
accent
#79C464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E