#AFC237#AFC237
#AFC237 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.159 H 117.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC237 |
|---|---|
| RGB | rgb(175, 194, 55) |
| HSL | hsl(68, 56%, 49%) |
| HSV | hsv(68, 72%, 76%) |
| CMYK | cmyk(9.8%, 0%, 71.6%, 23.9%) |
| CIE-LAB | lab(74.81, -24.17, 63.73) |
| CIE-LCH | lch(74.81, 68.16, 110.77°) |
| OKLab | oklab(77.46% -0.0725 0.1417) |
| OKLCH | oklch(77.46% 0.159 117.1) |
| XYZ | xyz(37.6615, 47.9738, 10.8896) |
| Luminance | 0.4797 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.19
Gross Green
#A0BF16
ΔE00 2.93
Snot
#ACBB0D
ΔE00 3.07
Bile
#B5C306
ΔE00 3.36
Sick Green
#9DB92C
ΔE00 3.44
Baby Puke Green
#B6C406
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC237 #4A37C2
analogous
#C29037 #AFC237 #6AC237
triadic
#AFC237 #37AFC2 #C237AF
tetradic
#AFC237 #37C290 #4A37C2 #C2376A
square
#AFC237 #37C290 #4A37C2 #C2376A
split-complementary
#AFC237 #376AC2 #9037C2
monochromatic
#59631C #849229 #AFC237 #C4D363 #D6E093
Accessibility & contrast
On white
1.98
#AFC237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#AFC237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC237
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC237 | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB81D
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc237; /* rgb */ color: rgb(175, 194, 55); /* oklch */ color: oklch(77.5% 0.159 117.1);
Tailwind
colors: {
custom: {
50: '#cad477',
500: '#afc237',
950: '#000000',
},
}SCSS
$custom: #afc237; $custom-light: #cad477; $custom-dark: #000000;
JSON
{
"hex": "#afc237",
"rgb": {
"r": 175,
"g": 194,
"b": 55
},
"hsl": {
"h": 68.201,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.77455,
"c": 0.15914,
"h": 117.1
},
"luminance": 0.47973
}Semantic roles & 50–950 ramp
primary
#AFC237
secondary
#9289CB
accent
#49DF5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B