#AFB795
Closest named color: Putty (#BEAE8A). oklch(76.4% 0.048 118.3), rgb(175, 183, 149).
Aa
Black text reads best on this color (10.03:1).
About this color
#AFB795 is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.048 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.029 away. Black text reads best on it, at 10.03:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | muted (0.048) |
| Temperature | in between |
| Nearest name | Putty (#BEAE8A) |
| Black text | 10.03:1 |
| White text | 2.09:1 |
Values
| HEX | #AFB795 |
| RGB | rgb(175, 183, 149) |
| HSL | hsl(74, 19%, 65%) |
| OKLCH | oklch(76.4% 0.048 118.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #AFB795 | 2.09:1 | Fails | Lc -45.6 | Large or bold text, headings |
| Black text on #AFB795 | 10.03:1 | AAA | Lc 63.0 | Content text, not long reading |
| #AFB795 text on white | 2.09:1 | Fails | Lc 41.0 | Non-text elements, placeholder text |
| #AFB795 text on black | 10.03:1 | AAA | Lc -61.3 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E9EBE1
oklch(93.6% 0.013 115.8)
-
Step 200
200
#D7DCC8
oklch(88.5% 0.027 118.4)
-
Step 300
300 (this color)
#AFB795
oklch(76.4% 0.048 118.3)
-
Step 400
400
#9CA871
oklch(70.8% 0.077 118.4)
-
Step 500
500
#84924A
oklch(63.2% 0.098 118.4)
-
Step 600
600
#6E7B2B
oklch(55.5% 0.105 117.8)
-
Step 700
700
#5C681D
oklch(49.1% 0.099 118.1)
-
Step 800
800
#4B551B
oklch(42.8% 0.082 118.3)
-
Step 900
900
#3E461C
oklch(37.6% 0.064 118.5)
-
Step 950
950
#242911
oklch(26.9% 0.041 118.9)
#AFB795 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #BCB393 | 0.020 |
| Deuteranopia (no green cones) | #BBB396 | 0.020 |
| Tritanopia (no blue cones) | #B3B3AE | 0.041 |
| Achromatopsia (no color) | #B3B3B3 | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB795
#AFB795
oklch(76.4% 0.048 118.3)
- #B6ACCD
#B6ACCD
oklch(76.4% 0.048 299.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFB795, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Putty #BEAE8A ΔE 0.029
- Bland #AFA88B ΔE 0.039
- Muted Teal #90B494 ΔE 0.042
- Toupe #C7AC7D ΔE 0.044
- Dark Sea Green #8FBC8F ΔE 0.045
- Stone #ADA587 ΔE 0.047
- Sandstone #C9AE74 ΔE 0.049
- Tan #D2B48C ΔE 0.049
Use #AFB795 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.