#AFC23A#AFC23A
#AFC23A is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.157 H 117.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC23A |
|---|---|
| RGB | rgb(175, 194, 58) |
| HSL | hsl(68, 54%, 49%) |
| HSV | hsv(68, 70%, 76%) |
| CMYK | cmyk(9.8%, 0%, 70.1%, 23.9%) |
| CIE-LAB | lab(74.83, -24.01, 62.67) |
| CIE-LCH | lch(74.83, 67.11, 110.96°) |
| OKLab | oklab(77.48% -0.0717 0.1399) |
| OKLCH | oklch(77.48% 0.157 117.1) |
| XYZ | xyz(37.7356, 48.0035, 11.2799) |
| Luminance | 0.4800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.33
Gross Green
#A0BF16
ΔE00 3.06
Snot
#ACBB0D
ΔE00 3.30
Sick Green
#9DB92C
ΔE00 3.42
Bile
#B5C306
ΔE00 3.63
Baby Puke Green
#B6C406
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC23A #4D3AC2
analogous
#C2913A #AFC23A #6BC23A
triadic
#AFC23A #3AAFC2 #C23AAF
tetradic
#AFC23A #3AC291 #4D3AC2 #C23A6B
square
#AFC23A #3AC291 #4D3AC2 #C23A6B
split-complementary
#AFC23A #3A6BC2 #913AC2
monochromatic
#5A641E #85932C #AFC23A #C3D267 #D6E097
Accessibility & contrast
On white
1.98
#AFC23A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#AFC23A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC23A
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC23A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC23A | 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)
#CFB823
Deuteranopia (green-blind)
#CDB945
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc23a; /* rgb */ color: rgb(175, 194, 58); /* oklch */ color: oklch(77.5% 0.157 117.1);
Tailwind
colors: {
custom: {
50: '#cad479',
500: '#afc23a',
950: '#000000',
},
}SCSS
$custom: #afc23a; $custom-light: #cad479; $custom-dark: #000000;
JSON
{
"hex": "#afc23a",
"rgb": {
"r": 175,
"g": 194,
"b": 58
},
"hsl": {
"h": 68.382,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.77476,
"c": 0.15726,
"h": 117.1
},
"luminance": 0.48003
}Semantic roles & 50–950 ramp
primary
#AFC23A
secondary
#958DCB
accent
#4ADD5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C