#AFC03B#AFC03B
#AFC03B is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.154 H 116.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC03B |
|---|---|
| RGB | rgb(175, 192, 59) |
| HSL | hsl(68, 53%, 49%) |
| HSV | hsv(68, 69%, 75%) |
| CMYK | cmyk(8.9%, 0%, 69.3%, 24.7%) |
| CIE-LAB | lab(74.27, -22.98, 61.74) |
| CIE-LCH | lch(74.27, 65.88, 110.41°) |
| OKLab | oklab(77.03% -0.0688 0.1382) |
| OKLCH | oklch(77.03% 0.154 116.5) |
| XYZ | xyz(37.3191, 47.1295, 11.2678) |
| Luminance | 0.4713 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.53
Snot
#ACBB0D
ΔE00 3.12
Gross Green
#A0BF16
ΔE00 3.29
Sick Green
#9DB92C
ΔE00 3.33
Bile
#B5C306
ΔE00 3.73
Baby Puke Green
#B6C406
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC03B #4C3BC0
analogous
#C08F3B #AFC03B #6DC03B
triadic
#AFC03B #3BAFC0 #C03BAF
tetradic
#AFC03B #3BC08F #4C3BC0 #C03B6D
square
#AFC03B #3BC08F #4C3BC0 #C03B6D
split-complementary
#AFC03B #3B6DC0 #8F3BC0
monochromatic
#5A621E #84912D #AFC03B #C3D168 #D6DF97
Accessibility & contrast
On white
2.01
#AFC03B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.43
#AFC03B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC03B
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC03B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC03B | 1.00 | 2.01 | 10.43 | 10.43 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB626
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc03b; /* rgb */ color: rgb(175, 192, 59); /* oklch */ color: oklch(77.0% 0.154 116.5);
Tailwind
colors: {
custom: {
50: '#cad279',
500: '#afc03b',
950: '#000000',
},
}SCSS
$custom: #afc03b; $custom-light: #cad279; $custom-dark: #000000;
JSON
{
"hex": "#afc03b",
"rgb": {
"r": 175,
"g": 192,
"b": 59
},
"hsl": {
"h": 67.669,
"s": 52.988,
"l": 49.216
},
"oklch": {
"l": 0.77033,
"c": 0.15434,
"h": 116.5
},
"luminance": 0.47129
}Semantic roles & 50–950 ramp
primary
#AFC03B
secondary
#948CCA
accent
#4BDC5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C