#AFB299#AFB299
#AFB299 is a light, muted yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.035 H 112.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB299 |
|---|---|
| RGB | rgb(175, 178, 153) |
| HSL | hsl(67, 14%, 65%) |
| HSV | hsv(67, 14%, 70%) |
| CMYK | cmyk(1.7%, 0%, 14%, 30.2%) |
| CIE-LAB | lab(71.73, -5.49, 12.44) |
| CIE-LCH | lch(71.73, 13.60, 113.80°) |
| OKLab | oklab(75.43% -0.0135 0.0322) |
| OKLCH | oklch(75.43% 0.035 112.8) |
| XYZ | xyz(39.3487, 43.2549, 36.4069) |
| Luminance | 0.4325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.11
Cement
#A5A391
ΔE00 5.33
Stone (survey)
#ADA587
ΔE00 5.96
Greyish
#A8A495
ΔE00 6.40
Sage Green
#9CAF88
ΔE00 7.28
Greenish Grey
#96AE8D
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB299 #9C99B2
analogous
#B2A899 #AFB299 #A3B299
triadic
#AFB299 #99AFB2 #B299AF
tetradic
#AFB299 #99B2A8 #9C99B2 #B299A3
square
#AFB299 #99B2A8 #9C99B2 #B299A3
split-complementary
#AFB299 #99A3B2 #A899B2
monochromatic
#73775A #949876 #AFB299 #CACCBC #E6E7DF
Accessibility & contrast
On white
2.18
#AFB299 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#AFB299 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB299
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB299 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB299 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6AF98
Deuteranopia (green-blind)
#B6B09A
Tritanopia (blue-blind)
#B2AFAB
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb299; /* rgb */ color: rgb(175, 178, 153); /* oklch */ color: oklch(75.4% 0.035 112.8);
Tailwind
colors: {
custom: {
50: '#c7c9b7',
500: '#afb299',
950: '#000000',
},
}SCSS
$custom: #afb299; $custom-light: #c7c9b7; $custom-dark: #000000;
JSON
{
"hex": "#afb299",
"rgb": {
"r": 175,
"g": 178,
"b": 153
},
"hsl": {
"h": 67.2,
"s": 13.966,
"l": 64.902
},
"oklch": {
"l": 0.7543,
"c": 0.03488,
"h": 112.8
},
"luminance": 0.43255
}Semantic roles & 50–950 ramp
primary
#AFB299
secondary
#D0CFD8
accent
#4D9856
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280