#AFB43A#AFB43A
#AFB43A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.142 H 111.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB43A |
|---|---|
| RGB | rgb(175, 180, 58) |
| HSL | hsl(62, 51%, 47%) |
| HSV | hsv(62, 68%, 71%) |
| CMYK | cmyk(2.8%, 0%, 67.8%, 29.4%) |
| CIE-LAB | lab(70.91, -17.05, 58.75) |
| CIE-LCH | lch(70.91, 61.18, 106.18°) |
| OKLab | oklab(74.34% -0.0523 0.1317) |
| OKLCH | oklch(74.34% 0.142 111.7) |
| XYZ | xyz(34.7652, 42.0628, 10.2898) |
| Luminance | 0.4206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.44
Snot
#ACBB0D
ΔE00 3.92
Puke Green
#9AAE07
ΔE00 4.62
Vomit
#A2A415
ΔE00 4.95
Sick Green
#9DB92C
ΔE00 5.01
Booger
#9BB53C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB43A #3F3AB4
analogous
#B47C3A #AFB43A #72B43A
triadic
#AFB43A #3AAFB4 #B43AAF
tetradic
#AFB43A #3AB47C #3F3AB4 #B43A72
square
#AFB43A #3AB47C #3F3AB4 #B43A72
split-complementary
#AFB43A #3A72B4 #7C3AB4
monochromatic
#55571C #82862B #AFB43A #C7CC60 #D7DB8E
Accessibility & contrast
On white
2.23
#AFB43A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#AFB43A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB43A
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB43A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB43A | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#BBA99C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb43a; /* rgb */ color: rgb(175, 180, 58); /* oklch */ color: oklch(74.3% 0.142 111.7);
Tailwind
colors: {
custom: {
50: '#caca77',
500: '#afb43a',
950: '#000000',
},
}SCSS
$custom: #afb43a; $custom-light: #caca77; $custom-dark: #000000;
JSON
{
"hex": "#afb43a",
"rgb": {
"r": 175,
"g": 180,
"b": 58
},
"hsl": {
"h": 62.459,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.74339,
"c": 0.14172,
"h": 111.7
},
"luminance": 0.42062
}Semantic roles & 50–950 ramp
primary
#AFB43A
secondary
#8785C5
accent
#4DDB53
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B