#AFB397#AFB397
#AFB397 is a light, muted yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.039 H 113.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB397 |
|---|---|
| RGB | rgb(175, 179, 151) |
| HSL | hsl(69, 16%, 65%) |
| HSV | hsv(69, 16%, 70%) |
| CMYK | cmyk(2.2%, 0%, 15.6%, 29.8%) |
| CIE-LAB | lab(71.95, -6.34, 13.85) |
| CIE-LCH | lch(71.95, 15.23, 114.61°) |
| OKLab | oklab(75.59% -0.0158 0.0357) |
| OKLCH | oklch(75.59% 0.039 113.9) |
| XYZ | xyz(39.3846, 43.5887, 35.6108) |
| Luminance | 0.4359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.46
Cement
#A5A391
ΔE00 6.20
Stone (survey)
#ADA587
ΔE00 6.26
Sage Green
#9CAF88
ΔE00 6.41
Greyish
#A8A495
ΔE00 7.38
Greenish Grey
#96AE8D
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB397 #9B97B3
analogous
#B3A997 #AFB397 #A1B397
triadic
#AFB397 #97AFB3 #B397AF
tetradic
#AFB397 #97B3A9 #9B97B3 #B397A1
square
#AFB397 #97B3A9 #9B97B3 #B397A1
split-complementary
#AFB397 #97A1B3 #A997B3
monochromatic
#737858 #949974 #AFB397 #CACDBA #E5E7DE
Accessibility & contrast
On white
2.16
#AFB397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#AFB397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB397
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB397 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7B095
Deuteranopia (green-blind)
#B7B198
Tritanopia (blue-blind)
#B3B0AB
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb397; /* rgb */ color: rgb(175, 179, 151); /* oklch */ color: oklch(75.6% 0.039 113.9);
Tailwind
colors: {
custom: {
50: '#c7c9b5',
500: '#afb397',
950: '#000000',
},
}SCSS
$custom: #afb397; $custom-light: #c7c9b5; $custom-dark: #000000;
JSON
{
"hex": "#afb397",
"rgb": {
"r": 175,
"g": 179,
"b": 151
},
"hsl": {
"h": 68.571,
"s": 15.556,
"l": 64.706
},
"oklch": {
"l": 0.75593,
"c": 0.03905,
"h": 113.9
},
"luminance": 0.43589
}Semantic roles & 50–950 ramp
primary
#AFB397
secondary
#CFCED8
accent
#4C9A57
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280