#AFB13E#AFB13E
#AFB13E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.136 H 110.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB13E |
|---|---|
| RGB | rgb(175, 177, 62) |
| HSL | hsl(61, 48%, 47%) |
| HSV | hsv(61, 65%, 69%) |
| CMYK | cmyk(1.1%, 0%, 65%, 30.6%) |
| CIE-LAB | lab(70.11, -15.29, 56.33) |
| CIE-LCH | lch(70.11, 58.36, 105.18°) |
| OKLab | oklab(73.71% -0.047 0.1272) |
| OKLCH | oklch(73.71% 0.136 110.3) |
| XYZ | xyz(34.2719, 40.9069, 10.6470) |
| Luminance | 0.4091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.33
Vomit
#A2A415
ΔE00 4.53
Puke
#A5A502
ΔE00 4.80
Snot
#ACBB0D
ΔE00 5.00
Puke Green
#9AAE07
ΔE00 5.14
Booger
#9BB53C
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB13E #403EB1
analogous
#B1793E #AFB13E #76B13E
triadic
#AFB13E #3EAFB1 #B13EAF
tetradic
#AFB13E #3EB179 #403EB1 #B13E76
square
#AFB13E #3EB179 #403EB1 #B13E76
split-complementary
#AFB13E #3E76B1 #793EB1
monochromatic
#55561E #82842E #AFB13E #C7C964 #D7D891
Accessibility & contrast
On white
2.29
#AFB13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#AFB13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB13E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB13E | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2E
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb13e; /* rgb */ color: rgb(175, 177, 62); /* oklch */ color: oklch(73.7% 0.136 110.3);
Tailwind
colors: {
custom: {
50: '#cac879',
500: '#afb13e',
950: '#000000',
},
}SCSS
$custom: #afb13e; $custom-light: #cac879; $custom-dark: #000000;
JSON
{
"hex": "#afb13e",
"rgb": {
"r": 175,
"g": 177,
"b": 62
},
"hsl": {
"h": 61.043,
"s": 48.117,
"l": 46.863
},
"oklch": {
"l": 0.73707,
"c": 0.13563,
"h": 110.3
},
"luminance": 0.40906
}Semantic roles & 50–950 ramp
primary
#AFB13E
secondary
#8887C4
accent
#50D852
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B