#AFB456#AFB456
#AFB456 is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.118 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB456 |
|---|---|
| RGB | rgb(175, 180, 86) |
| HSL | hsl(63, 39%, 52%) |
| HSV | hsv(63, 52%, 71%) |
| CMYK | cmyk(2.8%, 0%, 52.2%, 29.4%) |
| CIE-LAB | lab(71.17, -15.02, 46.73) |
| CIE-LCH | lch(71.17, 49.09, 107.82°) |
| OKLab | oklab(74.62% -0.0437 0.1098) |
| OKLCH | oklch(74.62% 0.118 111.7) |
| XYZ | xyz(35.6809, 42.4291, 15.1123) |
| Luminance | 0.4243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.29
Light Olive
#ACBF69
ΔE00 4.76
Light Olive Green
#A4BE5C
ΔE00 5.27
Booger
#9BB53C
ΔE00 5.35
Khaki (survey)
#AAA662
ΔE00 5.70
Tan Green
#A9BE70
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB456 #5B56B4
analogous
#B48A56 #AFB456 #80B456
triadic
#AFB456 #56AFB4 #B456AF
tetradic
#AFB456 #56B48A #5B56B4 #B45680
square
#AFB456 #56B48A #5B56B4 #B45680
split-complementary
#AFB456 #5680B4 #8A56B4
monochromatic
#61632C #8A8E3F #AFB456 #C3C780 #D7DAAB
Accessibility & contrast
On white
2.21
#AFB456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#AFB456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB456
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB456 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD4D
Deuteranopia (green-blind)
#C0B05B
Tritanopia (blue-blind)
#B9AB9F
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb456; /* rgb */ color: rgb(175, 180, 86); /* oklch */ color: oklch(74.6% 0.118 111.7);
Tailwind
colors: {
custom: {
50: '#c9ca88',
500: '#afb456',
950: '#000000',
},
}SCSS
$custom: #afb456; $custom-light: #c9ca88; $custom-dark: #000000;
JSON
{
"hex": "#afb456",
"rgb": {
"r": 175,
"g": 180,
"b": 86
},
"hsl": {
"h": 63.191,
"s": 38.525,
"l": 52.157
},
"oklch": {
"l": 0.74621,
"c": 0.11819,
"h": 111.7
},
"luminance": 0.42428
}Semantic roles & 50–950 ramp
primary
#AFB456
secondary
#A19EC7
accent
#59CE60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D