#AFC538#AFC538
#AFC538 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.1% C 0.162 H 118.1°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC538 |
|---|---|
| RGB | rgb(175, 197, 56) |
| HSL | hsl(69, 56%, 50%) |
| HSV | hsv(69, 72%, 77%) |
| CMYK | cmyk(11.2%, 0%, 71.6%, 22.7%) |
| CIE-LAB | lab(75.66, -25.57, 64.20) |
| CIE-LCH | lch(75.66, 69.11, 111.72°) |
| OKLab | oklab(78.14% -0.0763 0.1429) |
| OKLCH | oklch(78.14% 0.162 118.1) |
| XYZ | xyz(38.3601, 49.3323, 11.2419) |
| Luminance | 0.4933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.31
Gross Green
#A0BF16
ΔE00 2.92
Snot Green
#9DC100
ΔE00 3.51
Bile
#B5C306
ΔE00 3.63
Baby Puke Green
#B6C406
ΔE00 3.68
Snot
#ACBB0D
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC538 #4E38C5
analogous
#C59538 #AFC538 #68C538
triadic
#AFC538 #38AFC5 #C538AF
tetradic
#AFC538 #38C595 #4E38C5 #C53868
square
#AFC538 #38C595 #4E38C5 #C53868
split-complementary
#AFC538 #3868C5 #9538C5
monochromatic
#5A661D #85952A #AFC538 #C3D467 #D6E196
Accessibility & contrast
On white
1.93
#AFC538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.87
#AFC538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC538
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC538 | 1.00 | 1.93 | 10.87 | 10.87 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#BABAAA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc538; /* rgb */ color: rgb(175, 197, 56); /* oklch */ color: oklch(78.1% 0.162 118.1);
Tailwind
colors: {
custom: {
50: '#cad678',
500: '#afc538',
950: '#000000',
},
}SCSS
$custom: #afc538; $custom-light: #cad678; $custom-dark: #000000;
JSON
{
"hex": "#afc538",
"rgb": {
"r": 175,
"g": 197,
"b": 56
},
"hsl": {
"h": 69.362,
"s": 55.731,
"l": 49.608
},
"oklch": {
"l": 0.7814,
"c": 0.16194,
"h": 118.1
},
"luminance": 0.49332
}Semantic roles & 50–950 ramp
primary
#AFC538
secondary
#968CCD
accent
#49DF60
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B