#AFB84F#AFB84F
#AFB84F is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.129 H 113.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB84F |
|---|---|
| RGB | rgb(175, 184, 79) |
| HSL | hsl(65, 43%, 52%) |
| HSV | hsv(65, 57%, 72%) |
| CMYK | cmyk(4.9%, 0%, 57.1%, 27.8%) |
| CIE-LAB | lab(72.20, -17.64, 51.19) |
| CIE-LCH | lch(72.20, 54.15, 109.01°) |
| OKLab | oklab(75.43% -0.0518 0.1187) |
| OKLCH | oklch(75.43% 0.129 113.6) |
| XYZ | xyz(36.2318, 43.9601, 13.9721) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.26
Light Olive Green
#A4BE5C
ΔE00 4.56
Light Olive
#ACBF69
ΔE00 4.63
Sick Green
#9DB92C
ΔE00 4.91
Snot
#ACBB0D
ΔE00 5.53
Mustard Green
#A8B504
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB84F #584FB8
analogous
#B88D4F #AFB84F #7BB84F
triadic
#AFB84F #4FAFB8 #B84FAF
tetradic
#AFB84F #4FB88D #584FB8 #B84F7B
square
#AFB84F #4FB88D #584FB8 #B84F7B
split-complementary
#AFB84F #4F7BB8 #8D4FB8
monochromatic
#5F6428 #88903A #AFB84F #C3CA7B #D7DBA6
Accessibility & contrast
On white
2.14
#AFB84F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#AFB84F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB84F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB84F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB84F | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B044
Deuteranopia (green-blind)
#C4B255
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb84f; /* rgb */ color: rgb(175, 184, 79); /* oklch */ color: oklch(75.4% 0.129 113.6);
Tailwind
colors: {
custom: {
50: '#c9cd84',
500: '#afb84f',
950: '#000000',
},
}SCSS
$custom: #afb84f; $custom-light: #c9cd84; $custom-dark: #000000;
JSON
{
"hex": "#afb84f",
"rgb": {
"r": 175,
"g": 184,
"b": 79
},
"hsl": {
"h": 65.143,
"s": 42.51,
"l": 51.569
},
"oklch": {
"l": 0.75426,
"c": 0.12949,
"h": 113.6
},
"luminance": 0.43959
}Semantic roles & 50–950 ramp
primary
#AFB84F
secondary
#9E9AC8
accent
#56D260
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C