#AFC13B#AFC13B
#AFC13B is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.155 H 116.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC13B |
|---|---|
| RGB | rgb(175, 193, 59) |
| HSL | hsl(68, 53%, 49%) |
| HSV | hsv(68, 69%, 76%) |
| CMYK | cmyk(9.3%, 0%, 69.4%, 24.3%) |
| CIE-LAB | lab(74.55, -23.47, 62.02) |
| CIE-LCH | lch(74.55, 66.32, 110.72°) |
| OKLab | oklab(77.26% -0.0701 0.1388) |
| OKLCH | oklch(77.26% 0.155 116.8) |
| XYZ | xyz(37.5394, 47.5701, 11.3412) |
| Luminance | 0.4757 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.44
Gross Green
#A0BF16
ΔE00 3.19
Snot
#ACBB0D
ΔE00 3.24
Sick Green
#9DB92C
ΔE00 3.36
Bile
#B5C306
ΔE00 3.71
Baby Puke Green
#B6C406
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC13B #4D3BC1
analogous
#C1903B #AFC13B #6CC13B
triadic
#AFC13B #3BAFC1 #C13BAF
tetradic
#AFC13B #3BC190 #4D3BC1 #C13B6C
square
#AFC13B #3BC190 #4D3BC1 #C13B6C
split-complementary
#AFC13B #3B6CC1 #903BC1
monochromatic
#5A631E #85922D #AFC13B #C3D168 #D6DF97
Accessibility & contrast
On white
2.00
#AFC13B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.51
#AFC13B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC13B
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC13B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC13B | 1.00 | 2.00 | 10.51 | 10.51 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB725
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#BAB6A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc13b; /* rgb */ color: rgb(175, 193, 59); /* oklch */ color: oklch(77.3% 0.155 116.8);
Tailwind
colors: {
custom: {
50: '#cad379',
500: '#afc13b',
950: '#000000',
},
}SCSS
$custom: #afc13b; $custom-light: #cad379; $custom-dark: #000000;
JSON
{
"hex": "#afc13b",
"rgb": {
"r": 175,
"g": 193,
"b": 59
},
"hsl": {
"h": 68.06,
"s": 53.175,
"l": 49.412
},
"oklch": {
"l": 0.77258,
"c": 0.15548,
"h": 116.8
},
"luminance": 0.4757
}Semantic roles & 50–950 ramp
primary
#AFC13B
secondary
#958DCB
accent
#4BDD5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C