#AFC236#AFC236
#AFC236 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.4% C 0.160 H 117.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC236 |
|---|---|
| RGB | rgb(175, 194, 54) |
| HSL | hsl(68, 56%, 49%) |
| HSV | hsv(68, 72%, 76%) |
| CMYK | cmyk(9.8%, 0%, 72.2%, 23.9%) |
| CIE-LAB | lab(74.80, -24.22, 64.08) |
| CIE-LCH | lch(74.80, 68.50, 110.71°) |
| OKLab | oklab(77.45% -0.0727 0.1422) |
| OKLCH | oklch(77.45% 0.16 117.1) |
| XYZ | xyz(37.6377, 47.9643, 10.7646) |
| Luminance | 0.4796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.15
Gross Green
#A0BF16
ΔE00 2.90
Snot
#ACBB0D
ΔE00 3.00
Bile
#B5C306
ΔE00 3.28
Baby Puke Green
#B6C406
ΔE00 3.38
Sick Green
#9DB92C
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC236 #4936C2
analogous
#C28F36 #AFC236 #69C236
triadic
#AFC236 #36AFC2 #C236AF
tetradic
#AFC236 #36C28F #4936C2 #C23669
square
#AFC236 #36C28F #4936C2 #C23669
split-complementary
#AFC236 #3669C2 #8F36C2
monochromatic
#59621B #849229 #AFC236 #C4D362 #D6E192
Accessibility & contrast
On white
1.98
#AFC236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#AFC236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC236
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC236 | 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)
#CFB81B
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc236; /* rgb */ color: rgb(175, 194, 54); /* oklch */ color: oklch(77.4% 0.160 117.1);
Tailwind
colors: {
custom: {
50: '#cad477',
500: '#afc236',
950: '#000000',
},
}SCSS
$custom: #afc236; $custom-light: #cad477; $custom-dark: #000000;
JSON
{
"hex": "#afc236",
"rgb": {
"r": 175,
"g": 194,
"b": 54
},
"hsl": {
"h": 68.143,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.77448,
"c": 0.15975,
"h": 117.1
},
"luminance": 0.47964
}Semantic roles & 50–950 ramp
primary
#AFC236
secondary
#9188CC
accent
#48E05D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B