#AFB13A#AFB13A
#AFB13A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.139 H 110.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB13A |
|---|---|
| RGB | rgb(175, 177, 58) |
| HSL | hsl(61, 51%, 46%) |
| HSV | hsv(61, 67%, 69%) |
| CMYK | cmyk(1.1%, 0%, 67.2%, 30.6%) |
| CIE-LAB | lab(70.08, -15.53, 57.91) |
| CIE-LCH | lch(70.08, 59.95, 105.01°) |
| OKLab | oklab(73.67% -0.0481 0.1299) |
| OKLCH | oklch(73.67% 0.139 110.3) |
| XYZ | xyz(34.1662, 40.8646, 10.0901) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.97
Vomit
#A2A415
ΔE00 4.30
Puke
#A5A502
ΔE00 4.50
Snot
#ACBB0D
ΔE00 4.69
Puke Green
#9AAE07
ΔE00 4.92
Pea Soup Green
#94A617
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB13A #3C3AB1
analogous
#B1773A #AFB13A #73B13A
triadic
#AFB13A #3AAFB1 #B13AAF
tetradic
#AFB13A #3AB177 #3C3AB1 #B13A73
square
#AFB13A #3AB177 #3C3AB1 #B13A73
split-complementary
#AFB13A #3A73B1 #773AB1
monochromatic
#54551C #81832B #AFB13A #C8CA5E #D8D98C
Accessibility & contrast
On white
2.29
#AFB13A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AFB13A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB13A
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB13A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB13A | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA928
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb13a; /* rgb */ color: rgb(175, 177, 58); /* oklch */ color: oklch(73.7% 0.139 110.3);
Tailwind
colors: {
custom: {
50: '#cac877',
500: '#afb13a',
950: '#000000',
},
}SCSS
$custom: #afb13a; $custom-light: #cac877; $custom-dark: #000000;
JSON
{
"hex": "#afb13a",
"rgb": {
"r": 175,
"g": 177,
"b": 58
},
"hsl": {
"h": 61.008,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.73673,
"c": 0.13853,
"h": 110.3
},
"luminance": 0.40864
}Semantic roles & 50–950 ramp
primary
#AFB13A
secondary
#8483C4
accent
#4EDA50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B