#AFB482#AFB482
#AFB482 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.068 H 112.7°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB482 |
|---|---|
| RGB | rgb(175, 180, 130) |
| HSL | hsl(66, 25%, 61%) |
| HSV | hsv(66, 28%, 71%) |
| CMYK | cmyk(2.8%, 0%, 27.8%, 29.4%) |
| CIE-LAB | lab(71.80, -10.03, 24.99) |
| CIE-LCH | lch(71.80, 26.93, 111.86°) |
| OKLab | oklab(75.34% -0.0262 0.0628) |
| OKLCH | oklch(75.34% 0.068 112.7) |
| XYZ | xyz(38.0297, 43.3686, 27.4823) |
| Luminance | 0.4337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.83
Khaki (survey)
#AAA662
ΔE00 6.36
Tan Green
#A9BE70
ΔE00 6.60
Darkkhaki
#BDB76B
ΔE00 6.62
Sand
#C2B280
ΔE00 7.20
Light Olive
#ACBF69
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB482 #8782B4
analogous
#B4A082 #AFB482 #96B482
triadic
#AFB482 #82AFB4 #B482AF
tetradic
#AFB482 #82B4A0 #8782B4 #B48296
square
#AFB482 #82B4A0 #8782B4 #B48296
split-complementary
#AFB482 #8296B4 #A082B4
monochromatic
#717546 #959B5D #AFB482 #C7CBA8 #E0E2CE
Accessibility & contrast
On white
2.17
#AFB482 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#AFB482 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB482
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB482 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB482 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAF7F
Deuteranopia (green-blind)
#BBB184
Tritanopia (blue-blind)
#B5AEA7
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb482; /* rgb */ color: rgb(175, 180, 130); /* oklch */ color: oklch(75.3% 0.068 112.7);
Tailwind
colors: {
custom: {
50: '#c7caa6',
500: '#afb482',
950: '#000000',
},
}SCSS
$custom: #afb482; $custom-light: #c7caa6; $custom-dark: #000000;
JSON
{
"hex": "#afb482",
"rgb": {
"r": 175,
"g": 180,
"b": 130
},
"hsl": {
"h": 66,
"s": 25,
"l": 60.784
},
"oklch": {
"l": 0.75338,
"c": 0.06804,
"h": 112.7
},
"luminance": 0.43368
}Semantic roles & 50–950 ramp
primary
#AFB482
secondary
#C1BFD2
accent
#42A44C
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F