#AFB756#AFB756
#AFB756 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.122 H 113.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB756 |
|---|---|
| RGB | rgb(175, 183, 86) |
| HSL | hsl(65, 40%, 53%) |
| HSV | hsv(65, 53%, 72%) |
| CMYK | cmyk(4.4%, 0%, 53%, 28.2%) |
| CIE-LAB | lab(72.00, -16.55, 47.70) |
| CIE-LCH | lch(72.00, 50.49, 109.14°) |
| OKLab | oklab(75.28% -0.048 0.1119) |
| OKLCH | oklch(75.28% 0.122 113.2) |
| XYZ | xyz(36.2931, 43.6534, 15.3164) |
| Luminance | 0.4365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.07
Light Olive Green
#A4BE5C
ΔE00 4.41
Booger
#9BB53C
ΔE00 4.76
Darkkhaki
#BDB76B
ΔE00 4.84
Tan Green
#A9BE70
ΔE00 5.35
Sick Green
#9DB92C
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB756 #5E56B7
analogous
#B78E56 #AFB756 #7FB756
triadic
#AFB756 #56AFB7 #B756AF
tetradic
#AFB756 #56B78E #5E56B7 #B7567F
square
#AFB756 #56B78E #5E56B7 #B7567F
split-complementary
#AFB756 #567FB7 #8E56B7
monochromatic
#62672C #8B923E #AFB756 #C3C981 #D8DCAC
Accessibility & contrast
On white
2.16
#AFB756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#AFB756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB756
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB756 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF4D
Deuteranopia (green-blind)
#C3B25B
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb756; /* rgb */ color: rgb(175, 183, 86); /* oklch */ color: oklch(75.3% 0.122 113.2);
Tailwind
colors: {
custom: {
50: '#c9cc88',
500: '#afb756',
950: '#000000',
},
}SCSS
$custom: #afb756; $custom-light: #c9cc88; $custom-dark: #000000;
JSON
{
"hex": "#afb756",
"rgb": {
"r": 175,
"g": 183,
"b": 86
},
"hsl": {
"h": 64.948,
"s": 40.249,
"l": 52.745
},
"oklch": {
"l": 0.75284,
"c": 0.12179,
"h": 113.2
},
"luminance": 0.43653
}Semantic roles & 50–950 ramp
primary
#AFB756
secondary
#A39FC9
accent
#58D062
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D