#AFC625#AFC625
#AFC625 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.173 H 118.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC625 |
|---|---|
| RGB | rgb(175, 198, 37) |
| HSL | hsl(69, 69%, 46%) |
| HSV | hsv(69, 81%, 78%) |
| CMYK | cmyk(11.6%, 0%, 81.3%, 22.4%) |
| CIE-LAB | lab(75.85, -26.87, 70.22) |
| CIE-LCH | lch(75.85, 75.19, 110.94°) |
| OKLab | oklab(78.26% -0.0813 0.1524) |
| OKLCH | oklch(78.26% 0.173 118.1) |
| XYZ | xyz(38.2082, 49.6361, 9.3178) |
| Luminance | 0.4964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.24
Green Yellow
#B5CE08
ΔE00 2.50
Bile
#B5C306
ΔE00 2.56
Baby Puke Green
#B6C406
ΔE00 2.57
Gross Green
#A0BF16
ΔE00 2.71
Snot Green
#9DC100
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC625 #3C25C6
analogous
#C68C25 #AFC625 #5FC625
triadic
#AFC625 #25AFC6 #C625AF
tetradic
#AFC625 #25C68C #3C25C6 #C6255F
square
#AFC625 #25C68C #3C25C6 #C6255F
split-complementary
#AFC625 #255FC6 #8C25C6
monochromatic
#545F12 #81921B #AFC625 #C8DD4B #D8E77E
Accessibility & contrast
On white
1.92
#AFC625 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.93
#AFC625 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC625
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC625 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC625 | 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)
#D1BC36
Tritanopia (blue-blind)
#BABBA9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc625; /* rgb */ color: rgb(175, 198, 37); /* oklch */ color: oklch(78.3% 0.173 118.1);
Tailwind
colors: {
custom: {
50: '#cbd770',
500: '#afc625',
950: '#000000',
},
}SCSS
$custom: #afc625; $custom-light: #cbd770; $custom-dark: #000000;
JSON
{
"hex": "#afc625",
"rgb": {
"r": 175,
"g": 198,
"b": 37
},
"hsl": {
"h": 68.571,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.78261,
"c": 0.17274,
"h": 118.1
},
"luminance": 0.49636
}Semantic roles & 50–950 ramp
primary
#AFC625
secondary
#8477CF
accent
#3CEB55
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141408
muted
#83837B