#AFB280#AFB280
#AFB280 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.068 H 110.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB280 |
|---|---|
| RGB | rgb(175, 178, 128) |
| HSL | hsl(64, 25%, 60%) |
| HSV | hsv(64, 28%, 70%) |
| CMYK | cmyk(1.7%, 0%, 28.1%, 30.2%) |
| CIE-LAB | lab(71.22, -9.26, 25.28) |
| CIE-LCH | lch(71.22, 26.92, 110.11°) |
| OKLab | oklab(74.87% -0.0241 0.0634) |
| OKLCH | oklch(74.87% 0.068 110.8) |
| XYZ | xyz(37.4959, 42.5137, 26.6486) |
| Luminance | 0.4251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.78
Sage Green
#9CAF88
ΔE00 6.24
Darkkhaki
#BDB76B
ΔE00 6.35
Sand
#C2B280
ΔE00 6.62
Tan Green
#A9BE70
ΔE00 7.02
Bland
#AFA88B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB280 #8380B2
analogous
#B29C80 #AFB280 #96B280
triadic
#AFB280 #80AFB2 #B280AF
tetradic
#AFB280 #80B29C #8380B2 #B28096
square
#AFB280 #80B29C #8380B2 #B28096
split-complementary
#AFB280 #8096B2 #9C80B2
monochromatic
#707245 #95985C #AFB280 #C7C9A6 #DFE0CC
Accessibility & contrast
On white
2.21
#AFB280 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#AFB280 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB280
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB280 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB280 | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAAD7D
Deuteranopia (green-blind)
#BAAF82
Tritanopia (blue-blind)
#B6ACA5
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb280; /* rgb */ color: rgb(175, 178, 128); /* oklch */ color: oklch(74.9% 0.068 110.8);
Tailwind
colors: {
custom: {
50: '#c7c9a5',
500: '#afb280',
950: '#000000',
},
}SCSS
$custom: #afb280; $custom-light: #c7c9a5; $custom-dark: #000000;
JSON
{
"hex": "#afb280",
"rgb": {
"r": 175,
"g": 178,
"b": 128
},
"hsl": {
"h": 63.6,
"s": 24.51,
"l": 60
},
"oklch": {
"l": 0.74865,
"c": 0.06785,
"h": 110.8
},
"luminance": 0.42513
}Semantic roles & 50–950 ramp
primary
#AFB280
secondary
#BEBDD1
accent
#67C16C
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F