#AFC124#AFC124
#AFC124 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.1% C 0.168 H 116.5°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC124 |
|---|---|
| RGB | rgb(175, 193, 36) |
| HSL | hsl(67, 69%, 45%) |
| HSV | hsv(67, 81%, 76%) |
| CMYK | cmyk(9.3%, 0%, 81.3%, 24.3%) |
| CIE-LAB | lab(74.43, -24.49, 69.25) |
| CIE-LCH | lch(74.43, 73.45, 109.48°) |
| OKLab | oklab(77.12% -0.0748 0.1502) |
| OKLCH | oklch(77.12% 0.168 116.5) |
| XYZ | xyz(37.0686, 47.3818, 8.8616) |
| Luminance | 0.4738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.84
Bile
#B5C306
ΔE00 2.00
Pea
#A4BF20
ΔE00 2.11
Baby Puke Green
#B6C406
ΔE00 2.15
Gross Green
#A0BF16
ΔE00 2.79
Mustard Green
#A8B504
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC124 #3624C1
analogous
#C18524 #AFC124 #61C124
triadic
#AFC124 #24AFC1 #C124AF
tetradic
#AFC124 #24C185 #3624C1 #C12461
square
#AFC124 #24C185 #3624C1 #C12461
split-complementary
#AFC124 #2461C1 #8524C1
monochromatic
#515A11 #808D1A #AFC124 #CBDC46 #DAE679
Accessibility & contrast
On white
2.00
#AFC124 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#AFC124 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC124
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC124 | 1.00 | 2.00 | 10.48 | 10.48 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CDB834
Tritanopia (blue-blind)
#BBB6A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc124; /* rgb */ color: rgb(175, 193, 36); /* oklch */ color: oklch(77.1% 0.168 116.5);
Tailwind
colors: {
custom: {
50: '#cbd36f',
500: '#afc124',
950: '#000000',
},
}SCSS
$custom: #afc124; $custom-light: #cbd36f; $custom-dark: #000000;
JSON
{
"hex": "#afc124",
"rgb": {
"r": 175,
"g": 193,
"b": 36
},
"hsl": {
"h": 66.879,
"s": 68.559,
"l": 44.902
},
"oklch": {
"l": 0.77124,
"c": 0.16777,
"h": 116.5
},
"luminance": 0.47381
}Semantic roles & 50–950 ramp
primary
#AFC124
secondary
#7D73CE
accent
#3CEB50
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B