#AFC130#AFC130
#AFC130 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.162 H 116.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC130 |
|---|---|
| RGB | rgb(175, 193, 48) |
| HSL | hsl(67, 60%, 47%) |
| HSV | hsv(67, 75%, 76%) |
| CMYK | cmyk(9.3%, 0%, 75.1%, 24.3%) |
| CIE-LAB | lab(74.49, -24.02, 65.80) |
| CIE-LCH | lch(74.49, 70.04, 110.06°) |
| OKLab | oklab(77.19% -0.0727 0.1449) |
| OKLCH | oklch(77.19% 0.162 116.6) |
| XYZ | xyz(37.2836, 47.4678, 9.9939) |
| Luminance | 0.4747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.06
Snot
#ACBB0D
ΔE00 2.42
Bile
#B5C306
ΔE00 2.78
Gross Green
#A0BF16
ΔE00 2.82
Baby Puke Green
#B6C406
ΔE00 2.90
Bright Olive
#9CBB04
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC130 #4230C1
analogous
#C18A30 #AFC130 #67C130
triadic
#AFC130 #30AFC1 #C130AF
tetradic
#AFC130 #30C18A #4230C1 #C13067
square
#AFC130 #30C18A #4230C1 #C13067
split-complementary
#AFC130 #3067C1 #8A30C1
monochromatic
#565F18 #839024 #AFC130 #C6D659 #D7E28A
Accessibility & contrast
On white
2.00
#AFC130 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#AFC130 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC130
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC130 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC130 | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB70C
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc130; /* rgb */ color: rgb(175, 193, 48); /* oklch */ color: oklch(77.2% 0.162 116.6);
Tailwind
colors: {
custom: {
50: '#cad374',
500: '#afc130',
950: '#000000',
},
}SCSS
$custom: #afc130; $custom-light: #cad374; $custom-dark: #000000;
JSON
{
"hex": "#afc130",
"rgb": {
"r": 175,
"g": 193,
"b": 48
},
"hsl": {
"h": 67.448,
"s": 60.166,
"l": 47.255
},
"oklch": {
"l": 0.77185,
"c": 0.16206,
"h": 116.6
},
"luminance": 0.47467
}Semantic roles & 50–950 ramp
primary
#AFC130
secondary
#8A81CC
accent
#44E358
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B