#AFC72F#AFC72F
#AFC72F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.5% C 0.169 H 118.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC72F |
|---|---|
| RGB | rgb(175, 199, 47) |
| HSL | hsl(69, 62%, 48%) |
| HSV | hsv(69, 76%, 78%) |
| CMYK | cmyk(12.1%, 0%, 76.4%, 22%) |
| CIE-LAB | lab(76.17, -26.97, 67.68) |
| CIE-LCH | lch(76.17, 72.85, 111.72°) |
| OKLab | oklab(78.54% -0.0809 0.1487) |
| OKLCH | oklch(78.54% 0.169 118.5) |
| XYZ | xyz(38.6166, 50.1664, 10.3375) |
| Luminance | 0.5017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.34
Gross Green
#A0BF16
ΔE00 2.81
Green Yellow
#B5CE08
ΔE00 2.85
Snot Green
#9DC100
ΔE00 3.18
Bile
#B5C306
ΔE00 3.24
Baby Puke Green
#B6C406
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC72F #472FC7
analogous
#C7932F #AFC72F #63C72F
triadic
#AFC72F #2FAFC7 #C72FAF
tetradic
#AFC72F #2FC793 #472FC7 #C72F63
square
#AFC72F #2FC793 #472FC7 #C72F63
split-complementary
#AFC72F #2F63C7 #932FC7
monochromatic
#586418 #839523 #AFC72F #C4D85B #D6E48C
Accessibility & contrast
On white
1.90
#AFC72F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.03
#AFC72F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC72F
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC72F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC72F | 1.00 | 1.90 | 11.03 | 11.03 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BC03
Deuteranopia (green-blind)
#D2BC3D
Tritanopia (blue-blind)
#BABCAB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #afc72f; /* rgb */ color: rgb(175, 199, 47); /* oklch */ color: oklch(78.5% 0.169 118.5);
Tailwind
colors: {
custom: {
50: '#cbd874',
500: '#afc72f',
950: '#000000',
},
}SCSS
$custom: #afc72f; $custom-light: #cbd874; $custom-dark: #000000;
JSON
{
"hex": "#afc72f",
"rgb": {
"r": 175,
"g": 199,
"b": 47
},
"hsl": {
"h": 69.474,
"s": 61.789,
"l": 48.235
},
"oklch": {
"l": 0.78537,
"c": 0.16924,
"h": 118.5
},
"luminance": 0.50166
}Semantic roles & 50–950 ramp
primary
#AFC72F
secondary
#362C6E
accent
#43E55C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D