#AFC327#AFC327
#AFC327 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.6% C 0.169 H 117.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC327 |
|---|---|
| RGB | rgb(175, 195, 39) |
| HSL | hsl(68, 67%, 46%) |
| HSV | hsv(68, 80%, 76%) |
| CMYK | cmyk(10.3%, 0%, 80%, 23.5%) |
| CIE-LAB | lab(75.01, -25.36, 68.95) |
| CIE-LCH | lch(75.01, 73.47, 110.19°) |
| OKLab | oklab(77.59% -0.077 0.15) |
| OKLCH | oklch(77.59% 0.169 117.2) |
| XYZ | xyz(37.5615, 48.2911, 9.2615) |
| Luminance | 0.4829 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.00
Bile
#B5C306
ΔE00 2.27
Baby Puke Green
#B6C406
ΔE00 2.36
Snot
#ACBB0D
ΔE00 2.44
Gross Green
#A0BF16
ΔE00 2.65
Green Yellow
#B5CE08
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC327 #3B27C3
analogous
#C38927 #AFC327 #61C327
triadic
#AFC327 #27AFC3 #C327AF
tetradic
#AFC327 #27C389 #3B27C3 #C32761
square
#AFC327 #27C389 #3B27C3 #C32761
split-complementary
#AFC327 #2761C3 #8927C3
monochromatic
#535D13 #81901D #AFC327 #C9DB4C #D8E57F
Accessibility & contrast
On white
1.97
#AFC327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#AFC327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC327
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC327 | 1.00 | 1.97 | 10.66 | 10.66 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#CFB937
Tritanopia (blue-blind)
#BAB8A7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc327; /* rgb */ color: rgb(175, 195, 39); /* oklch */ color: oklch(77.6% 0.169 117.2);
Tailwind
colors: {
custom: {
50: '#cbd570',
500: '#afc327',
950: '#000000',
},
}SCSS
$custom: #afc327; $custom-light: #cbd570; $custom-dark: #000000;
JSON
{
"hex": "#afc327",
"rgb": {
"r": 175,
"g": 195,
"b": 39
},
"hsl": {
"h": 67.692,
"s": 66.667,
"l": 45.882
},
"oklch": {
"l": 0.7759,
"c": 0.16864,
"h": 117.2
},
"luminance": 0.48291
}Semantic roles & 50–950 ramp
primary
#AFC327
secondary
#8378CE
accent
#3EEA54
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B