#AFB279#AFB279
#AFB279 is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.077 H 110.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB279 |
|---|---|
| RGB | rgb(175, 178, 121) |
| HSL | hsl(63, 27%, 59%) |
| HSV | hsv(63, 32%, 70%) |
| CMYK | cmyk(1.7%, 0%, 32%, 30.2%) |
| CIE-LAB | lab(71.10, -10.19, 28.85) |
| CIE-LCH | lch(71.10, 30.60, 109.45°) |
| OKLab | oklab(74.73% -0.027 0.0717) |
| OKLCH | oklch(74.73% 0.077 110.7) |
| XYZ | xyz(37.0509, 42.3357, 24.3052) |
| Luminance | 0.4234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.67
Darkkhaki
#BDB76B
ΔE00 5.05
Tan Green
#A9BE70
ΔE00 6.01
Light Olive
#ACBF69
ΔE00 6.63
Sand
#C2B280
ΔE00 6.68
Sage Green
#9CAF88
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB279 #7C79B2
analogous
#B29879 #AFB279 #92B279
triadic
#AFB279 #79AFB2 #B279AF
tetradic
#AFB279 #79B298 #7C79B2 #B27992
square
#AFB279 #79B298 #7C79B2 #B27992
split-complementary
#AFB279 #7992B2 #9879B2
monochromatic
#6E7040 #949757 #AFB279 #C6C8A0 #DDDFC7
Accessibility & contrast
On white
2.22
#AFB279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#AFB279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB279
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB279 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBAD75
Deuteranopia (green-blind)
#BBAF7B
Tritanopia (blue-blind)
#B6ABA3
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb279; /* rgb */ color: rgb(175, 178, 121); /* oklch */ color: oklch(74.7% 0.077 110.7);
Tailwind
colors: {
custom: {
50: '#c7c9a0',
500: '#afb279',
950: '#000000',
},
}SCSS
$custom: #afb279; $custom-light: #c7c9a0; $custom-dark: #000000;
JSON
{
"hex": "#afb279",
"rgb": {
"r": 175,
"g": 178,
"b": 121
},
"hsl": {
"h": 63.158,
"s": 27.014,
"l": 58.627
},
"oklch": {
"l": 0.74728,
"c": 0.07663,
"h": 110.7
},
"luminance": 0.42335
}Semantic roles & 50–950 ramp
primary
#AFB279
secondary
#B9B8CF
accent
#64C369
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E