#AFC330#AFC330
#AFC330 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.6% C 0.164 H 117.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC330 |
|---|---|
| RGB | rgb(175, 195, 48) |
| HSL | hsl(68, 60%, 48%) |
| HSV | hsv(68, 75%, 76%) |
| CMYK | cmyk(10.3%, 0%, 75.4%, 23.5%) |
| CIE-LAB | lab(75.05, -24.99, 66.32) |
| CIE-LCH | lch(75.05, 70.88, 110.65°) |
| OKLab | oklab(77.64% -0.0753 0.146) |
| OKLCH | oklch(77.64% 0.164 117.3) |
| XYZ | xyz(37.7287, 48.3580, 10.1422) |
| Luminance | 0.4836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.99
Gross Green
#A0BF16
ΔE00 2.70
Snot
#ACBB0D
ΔE00 2.82
Bile
#B5C306
ΔE00 2.85
Baby Puke Green
#B6C406
ΔE00 2.94
Snot Green
#9DC100
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC330 #4430C3
analogous
#C38D30 #AFC330 #66C330
triadic
#AFC330 #30AFC3 #C330AF
tetradic
#AFC330 #30C38D #4430C3 #C33066
square
#AFC330 #30C38D #4430C3 #C33066
split-complementary
#AFC330 #3066C3 #8D30C3
monochromatic
#576118 #839224 #AFC330 #C5D65A #D7E28B
Accessibility & contrast
On white
1.97
#AFC330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.67
#AFC330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC330
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC330 | 1.00 | 1.97 | 10.67 | 10.67 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B80A
Deuteranopia (green-blind)
#CEBA3D
Tritanopia (blue-blind)
#BAB8A7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afc330; /* rgb */ color: rgb(175, 195, 48); /* oklch */ color: oklch(77.6% 0.164 117.3);
Tailwind
colors: {
custom: {
50: '#cbd574',
500: '#afc330',
950: '#000000',
},
}SCSS
$custom: #afc330; $custom-light: #cbd574; $custom-dark: #000000;
JSON
{
"hex": "#afc330",
"rgb": {
"r": 175,
"g": 195,
"b": 48
},
"hsl": {
"h": 68.163,
"s": 60.494,
"l": 47.647
},
"oklch": {
"l": 0.77637,
"c": 0.16427,
"h": 117.3
},
"luminance": 0.48358
}Semantic roles & 50–950 ramp
primary
#AFC330
secondary
#8C82CC
accent
#44E45A
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B