#AFC134#AFC134
#AFC134 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.160 H 116.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC134 |
|---|---|
| RGB | rgb(175, 193, 52) |
| HSL | hsl(68, 58%, 48%) |
| HSV | hsv(68, 73%, 76%) |
| CMYK | cmyk(9.3%, 0%, 73.1%, 24.3%) |
| CIE-LAB | lab(74.51, -23.83, 64.49) |
| CIE-LCH | lch(74.51, 68.75, 110.28°) |
| OKLab | oklab(77.21% -0.0718 0.1428) |
| OKLCH | oklch(77.21% 0.16 116.7) |
| XYZ | xyz(37.3699, 47.5023, 10.4484) |
| Luminance | 0.4750 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.68
Gross Green
#A0BF16
ΔE00 2.91
Bile
#B5C306
ΔE00 3.09
Baby Puke Green
#B6C406
ΔE00 3.21
Sick Green
#9DB92C
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC134 #4634C1
analogous
#C18D34 #AFC134 #68C134
triadic
#AFC134 #34AFC1 #C134AF
tetradic
#AFC134 #34C18D #4634C1 #C13468
square
#AFC134 #34C18D #4634C1 #C13468
split-complementary
#AFC134 #3468C1 #8D34C1
monochromatic
#58611A #839127 #AFC134 #C5D45E #D6E18F
Accessibility & contrast
On white
2.00
#AFC134 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#AFC134 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC134
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC134 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC134 | 1.00 | 2.00 | 10.50 | 10.50 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB717
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc134; /* rgb */ color: rgb(175, 193, 52); /* oklch */ color: oklch(77.2% 0.160 116.7);
Tailwind
colors: {
custom: {
50: '#cad376',
500: '#afc134',
950: '#000000',
},
}SCSS
$custom: #afc134; $custom-light: #cad376; $custom-dark: #000000;
JSON
{
"hex": "#afc134",
"rgb": {
"r": 175,
"g": 193,
"b": 52
},
"hsl": {
"h": 67.66,
"s": 57.551,
"l": 48.039
},
"oklch": {
"l": 0.7721,
"c": 0.15982,
"h": 116.7
},
"luminance": 0.47502
}Semantic roles & 50–950 ramp
primary
#AFC134
secondary
#8E86CB
accent
#47E15B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B