#AFB796
Closest named color: Putty (#BEAE8A). oklch(76.4% 0.046 118.6), rgb(175, 183, 150).
Aa
Black text reads best on this color (10.03:1).
About this color
#AFB796 is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.046 and its hue 119°. 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.046) |
| Temperature | in between |
| Nearest name | Putty (#BEAE8A) |
| Black text | 10.03:1 |
| White text | 2.09:1 |
Values
| HEX | #AFB796 |
| RGB | rgb(175, 183, 150) |
| HSL | hsl(75, 19%, 65%) |
| OKLCH | oklch(76.4% 0.046 118.6) |
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 #AFB796 | 2.09:1 | Fails | Lc -45.5 | Large or bold text, headings |
| Black text on #AFB796 | 10.03:1 | AAA | Lc 63.0 | Content text, not long reading |
| #AFB796 text on white | 2.09:1 | Fails | Lc 40.9 | Non-text elements, placeholder text |
| #AFB796 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
#D7DCC9
oklch(88.5% 0.026 118.9)
-
Step 300
300 (this color)
#AFB796
oklch(76.4% 0.046 118.6)
-
Step 400
400
#9CA772
oklch(70.6% 0.074 117.9)
-
Step 500
500
#84914D
oklch(63% 0.093 118.1)
-
Step 600
600
#6D7B2E
oklch(55.5% 0.103 118.6)
-
Step 700
700
#5B6821
oklch(49.1% 0.096 119)
-
Step 800
800
#4B551D
oklch(42.8% 0.08 118.5)
-
Step 900
900
#3E461E
oklch(37.7% 0.062 118.8)
-
Step 950
950
#242912
oklch(26.9% 0.039 119.2)
#AFB796 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) | #BCB394 | 0.020 |
| Deuteranopia (no green cones) | #BBB397 | 0.020 |
| Tritanopia (no blue cones) | #B2B3AE | 0.039 |
| Achromatopsia (no color) | #B3B3B3 | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB796
#AFB796
oklch(76.4% 0.046 118.6)
- #B6ADCD
#B6ADCD
oklch(76.6% 0.046 298.2)
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 #AFB796, 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
- Tan #D2B48C ΔE 0.049
- Sandstone #C9AE74 ΔE 0.050
Use #AFB796 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.