#AFC629#AFC629
#AFC629 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.3% C 0.171 H 118.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC629 |
|---|---|
| RGB | rgb(175, 198, 41) |
| HSL | hsl(69, 66%, 47%) |
| HSV | hsv(69, 79%, 78%) |
| CMYK | cmyk(11.6%, 0%, 79.3%, 22.4%) |
| CIE-LAB | lab(75.86, -26.73, 69.16) |
| CIE-LCH | lch(75.86, 74.15, 111.13°) |
| OKLab | oklab(78.28% -0.0807 0.1508) |
| OKLCH | oklch(78.28% 0.171 118.1) |
| XYZ | xyz(38.2744, 49.6626, 9.6669) |
| Luminance | 0.4966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.20
Green Yellow
#B5CE08
ΔE00 2.67
Gross Green
#A0BF16
ΔE00 2.70
Bile
#B5C306
ΔE00 2.75
Baby Puke Green
#B6C406
ΔE00 2.77
Snot Green
#9DC100
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC629 #4029C6
analogous
#C68F29 #AFC629 #61C629
triadic
#AFC629 #29AFC6 #C629AF
tetradic
#AFC629 #29C68F #4029C6 #C62961
square
#AFC629 #29C68F #4029C6 #C62961
split-complementary
#AFC629 #2961C6 #8F29C6
monochromatic
#556114 #82931F #AFC629 #C7DB51 #D7E684
Accessibility & contrast
On white
1.92
#AFC629 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.93
#AFC629 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC629
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC629 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC629 | 1.00 | 1.92 | 10.93 | 10.93 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D1BC39
Tritanopia (blue-blind)
#BABBA9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc629; /* rgb */ color: rgb(175, 198, 41); /* oklch */ color: oklch(78.3% 0.171 118.1);
Tailwind
colors: {
custom: {
50: '#cbd771',
500: '#afc629',
950: '#000000',
},
}SCSS
$custom: #afc629; $custom-light: #cbd771; $custom-dark: #000000;
JSON
{
"hex": "#afc629",
"rgb": {
"r": 175,
"g": 198,
"b": 41
},
"hsl": {
"h": 68.79,
"s": 65.69,
"l": 46.863
},
"oklch": {
"l": 0.78279,
"c": 0.17102,
"h": 118.1
},
"luminance": 0.49662
}Semantic roles & 50–950 ramp
primary
#AFC629
secondary
#887CCF
accent
#3FE958
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B