#AFB78D
Closest named color: Putty (#BEAE8A). oklch(76.2% 0.058 116.6), rgb(175, 183, 141).
Aa
Black text reads best on this color (9.98:1).
About this color
#AFB78D is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.058 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.030 away. Black text reads best on it, at 9.98:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | muted (0.058) |
| Temperature | in between |
| Nearest name | Putty (#BEAE8A) |
| Black text | 9.98:1 |
| White text | 2.10:1 |
Values
| HEX | #AFB78D |
| RGB | rgb(175, 183, 141) |
| HSL | hsl(71, 23%, 64%) |
| OKLCH | oklch(76.2% 0.058 116.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 #AFB78D | 2.10:1 | Fails | Lc -45.8 | Large or bold text, headings |
| Black text on #AFB78D | 9.98:1 | AAA | Lc 62.7 | Content text, not long reading |
| #AFB78D text on white | 2.10:1 | Fails | Lc 41.2 | Non-text elements, placeholder text |
| #AFB78D text on black | 9.98:1 | AAA | Lc -61.1 | 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
#F5F6F0
oklch(97.1% 0.008 114.2)
-
Step 100
100
#E9EBDF
oklch(93.5% 0.016 114.4)
-
Step 200
200
#D7DCC4
oklch(88.4% 0.033 116.6)
-
Step 300
300 (this color)
#AFB78D
oklch(76.2% 0.058 116.6)
-
Step 400
400
#9DA863
oklch(70.7% 0.093 116.2)
-
Step 500
500
#859234
oklch(63% 0.119 116.6)
-
Step 600
600
#6F7C00
oklch(55.6% 0.128 116.8)
-
Step 700
700
#5D6800
oklch(49.1% 0.113 116.8)
-
Step 800
800
#4C5500
oklch(42.7% 0.098 116.6)
-
Step 900
900
#3F460D
oklch(37.6% 0.077 116.4)
-
Step 950
950
#25290A
oklch(26.9% 0.049 116)
#AFB78D 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) | #BDB28A | 0.022 |
| Deuteranopia (no green cones) | #BCB38F | 0.021 |
| Tritanopia (no blue cones) | #B4B2AC | 0.050 |
| Achromatopsia (no color) | #B3B3B3 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB78D
#AFB78D
oklch(76.2% 0.058 116.6)
- #B5ABD3
#B5ABD3
oklch(76.3% 0.058 296.5)
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 #AFB78D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Putty #BEAE8A ΔE 0.030
- Bland #AFA88B ΔE 0.041
- Toupe #C7AC7D ΔE 0.041
- Dark Sea Green #8FBC8F ΔE 0.041
- Muted Teal #90B494 ΔE 0.042
- Dark Khaki #BDB76B ΔE 0.043
- Sandstone #C9AE74 ΔE 0.044
- Fawn #CFAF7B ΔE 0.048
Use #AFB78D 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.