#AFA25A#AFA25A
#AFA25A is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.094 H 99.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA25A |
|---|---|
| RGB | rgb(175, 162, 90) |
| HSL | hsl(51, 35%, 52%) |
| HSV | hsv(51, 49%, 69%) |
| CMYK | cmyk(0%, 7.4%, 48.6%, 31.4%) |
| CIE-LAB | lab(66.29, -5.23, 38.92) |
| CIE-LCH | lch(66.29, 39.27, 97.66°) |
| OKLab | oklab(70.76% -0.0152 0.0931) |
| OKLCH | oklch(70.76% 0.094 99.3) |
| XYZ | xyz(32.4459, 35.6939, 14.8514) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.04
Sandy Brown
#C4A661
ΔE00 5.95
Darkkhaki
#BDB76B
ΔE00 6.02
Dark Khaki
#9B8F55
ΔE00 6.51
Desert
#CCAD60
ΔE00 6.91
Sand
#C2B280
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA25A #5A67AF
analogous
#AF785A #AFA25A #91AF5A
triadic
#AFA25A #5AAFA2 #A25AAF
tetradic
#AFA25A #5AAF78 #5A67AF #AF5A91
square
#AFA25A #5AAF78 #5A67AF #AF5A91
split-complementary
#AFA25A #5A91AF #785AAF
monochromatic
#60582F #897E43 #AFA25A #C3B983 #D7D0AC
Accessibility & contrast
On white
2.58
#AFA25A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#AFA25A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA25A
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA25A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA25A | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E54
Deuteranopia (green-blind)
#B2A35D
Tritanopia (blue-blind)
#BA9991
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #afa25a; /* rgb */ color: rgb(175, 162, 90); /* oklch */ color: oklch(70.8% 0.094 99.3);
Tailwind
colors: {
custom: {
50: '#c9bd8a',
500: '#afa25a',
950: '#000000',
},
}SCSS
$custom: #afa25a; $custom-light: #c9bd8a; $custom-dark: #000000;
JSON
{
"hex": "#afa25a",
"rgb": {
"r": 175,
"g": 162,
"b": 90
},
"hsl": {
"h": 50.824,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.70756,
"c": 0.09431,
"h": 99.3
},
"luminance": 0.35693
}Semantic roles & 50–950 ramp
primary
#AFA25A
secondary
#A0A5C5
accent
#6ECB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D