#AFC328#AFC328
#AFC328 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.6% C 0.168 H 117.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC328 |
|---|---|
| RGB | rgb(175, 195, 40) |
| HSL | hsl(68, 66%, 46%) |
| HSV | hsv(68, 79%, 76%) |
| CMYK | cmyk(10.3%, 0%, 79.5%, 23.5%) |
| CIE-LAB | lab(75.01, -25.32, 68.68) |
| CIE-LCH | lch(75.01, 73.20, 110.24°) |
| OKLab | oklab(77.6% -0.0769 0.1496) |
| OKLCH | oklch(77.6% 0.168 117.2) |
| XYZ | xyz(37.5783, 48.2978, 9.3499) |
| Luminance | 0.4830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.99
Bile
#B5C306
ΔE00 2.32
Baby Puke Green
#B6C406
ΔE00 2.42
Snot
#ACBB0D
ΔE00 2.47
Gross Green
#A0BF16
ΔE00 2.64
Green Yellow
#B5CE08
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC328 #3C28C3
analogous
#C38928 #AFC328 #61C328
triadic
#AFC328 #28AFC3 #C328AF
tetradic
#AFC328 #28C389 #3C28C3 #C32861
square
#AFC328 #28C389 #3C28C3 #C32861
split-complementary
#AFC328 #2861C3 #8928C3
monochromatic
#545D13 #81901E #AFC328 #C8DB4E #D8E580
Accessibility & contrast
On white
1.97
#AFC328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#AFC328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC328
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC328 | 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)
#CFB938
Tritanopia (blue-blind)
#BAB8A7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc328; /* rgb */ color: rgb(175, 195, 40); /* oklch */ color: oklch(77.6% 0.168 117.2);
Tailwind
colors: {
custom: {
50: '#cbd570',
500: '#afc328',
950: '#000000',
},
}SCSS
$custom: #afc328; $custom-light: #cbd570; $custom-dark: #000000;
JSON
{
"hex": "#afc328",
"rgb": {
"r": 175,
"g": 195,
"b": 40
},
"hsl": {
"h": 67.742,
"s": 65.957,
"l": 46.078
},
"oklch": {
"l": 0.77595,
"c": 0.1682,
"h": 117.2
},
"luminance": 0.48297
}Semantic roles & 50–950 ramp
primary
#AFC328
secondary
#8479CE
accent
#3FE955
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B