#AFB556#AFB556
#AFB556 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.119 H 112.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB556 |
|---|---|
| RGB | rgb(175, 181, 86) |
| HSL | hsl(64, 39%, 52%) |
| HSV | hsv(64, 52%, 71%) |
| CMYK | cmyk(3.3%, 0%, 52.5%, 29%) |
| CIE-LAB | lab(71.44, -15.53, 47.06) |
| CIE-LCH | lch(71.44, 49.56, 108.27°) |
| OKLab | oklab(74.84% -0.0451 0.1105) |
| OKLCH | oklch(74.84% 0.119 112.2) |
| XYZ | xyz(35.8835, 42.8343, 15.1798) |
| Luminance | 0.4283 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.46
Light Olive
#ACBF69
ΔE00 4.51
Light Olive Green
#A4BE5C
ΔE00 4.97
Booger
#9BB53C
ΔE00 5.13
Tan Green
#A9BE70
ΔE00 5.67
Khaki (survey)
#AAA662
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB556 #5C56B5
analogous
#B58B56 #AFB556 #80B556
triadic
#AFB556 #56AFB5 #B556AF
tetradic
#AFB556 #56B58B #5C56B5 #B55680
square
#AFB556 #56B58B #5C56B5 #B55680
split-complementary
#AFB556 #5680B5 #8B56B5
monochromatic
#61652C #8A8F3F #AFB556 #C3C881 #D7DAAB
Accessibility & contrast
On white
2.20
#AFB556 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#AFB556 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB556
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB556 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB556 | 1.00 | 2.20 | 9.57 | 9.57 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4D
Deuteranopia (green-blind)
#C1B05B
Tritanopia (blue-blind)
#B9ACA0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb556; /* rgb */ color: rgb(175, 181, 86); /* oklch */ color: oklch(74.8% 0.119 112.2);
Tailwind
colors: {
custom: {
50: '#c9cb88',
500: '#afb556',
950: '#000000',
},
}SCSS
$custom: #afb556; $custom-light: #c9cb88; $custom-dark: #000000;
JSON
{
"hex": "#afb556",
"rgb": {
"r": 175,
"g": 181,
"b": 86
},
"hsl": {
"h": 63.789,
"s": 39.095,
"l": 52.353
},
"oklch": {
"l": 0.74842,
"c": 0.11938,
"h": 112.2
},
"luminance": 0.42834
}Semantic roles & 50–950 ramp
primary
#AFB556
secondary
#A19FC8
accent
#59CF60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D