#AFC23C#AFC23C
#AFC23C is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.156 H 117.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC23C |
|---|---|
| RGB | rgb(175, 194, 60) |
| HSL | hsl(69, 53%, 50%) |
| HSV | hsv(69, 69%, 76%) |
| CMYK | cmyk(9.8%, 0%, 69.1%, 23.9%) |
| CIE-LAB | lab(74.84, -23.90, 61.94) |
| CIE-LCH | lch(74.84, 66.39, 111.10°) |
| OKLab | oklab(77.49% -0.0713 0.1387) |
| OKLCH | oklch(77.49% 0.156 117.2) |
| XYZ | xyz(37.7874, 48.0242, 11.5531) |
| Luminance | 0.4802 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.44
Gross Green
#A0BF16
ΔE00 3.16
Sick Green
#9DB92C
ΔE00 3.41
Snot
#ACBB0D
ΔE00 3.46
Bile
#B5C306
ΔE00 3.82
Baby Puke Green
#B6C406
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC23C #4F3CC2
analogous
#C2923C #AFC23C #6CC23C
triadic
#AFC23C #3CAFC2 #C23CAF
tetradic
#AFC23C #3CC292 #4F3CC2 #C23C6C
square
#AFC23C #3CC292 #4F3CC2 #C23C6C
split-complementary
#AFC23C #3C6CC2 #923CC2
monochromatic
#5B651F #85932E #AFC23C #C2D16A #D5DF99
Accessibility & contrast
On white
1.98
#AFC23C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#AFC23C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC23C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC23C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC23C | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB827
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc23c; /* rgb */ color: rgb(175, 194, 60); /* oklch */ color: oklch(77.5% 0.156 117.2);
Tailwind
colors: {
custom: {
50: '#cad47a',
500: '#afc23c',
950: '#000000',
},
}SCSS
$custom: #afc23c; $custom-light: #cad47a; $custom-dark: #000000;
JSON
{
"hex": "#afc23c",
"rgb": {
"r": 175,
"g": 194,
"b": 60
},
"hsl": {
"h": 68.507,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.77491,
"c": 0.15595,
"h": 117.2
},
"luminance": 0.48024
}Semantic roles & 50–950 ramp
primary
#AFC23C
secondary
#978FCB
accent
#4CDC60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C