#AFB73E#AFB73E
#AFB73E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.0% C 0.142 H 113.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB73E |
|---|---|
| RGB | rgb(175, 183, 62) |
| HSL | hsl(64, 49%, 48%) |
| HSV | hsv(64, 66%, 72%) |
| CMYK | cmyk(4.4%, 0%, 66.1%, 28.2%) |
| CIE-LAB | lab(71.78, -18.33, 58.05) |
| CIE-LCH | lch(71.78, 60.88, 107.52°) |
| OKLab | oklab(75.04% -0.0555 0.1309) |
| OKLCH | oklch(75.04% 0.142 113) |
| XYZ | xyz(35.4832, 43.3295, 11.0507) |
| Luminance | 0.4333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.58
Snot
#ACBB0D
ΔE00 3.69
Sick Green
#9DB92C
ΔE00 4.34
Booger
#9BB53C
ΔE00 4.45
Pea
#A4BF20
ΔE00 4.57
Puke Green
#9AAE07
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB73E #463EB7
analogous
#B7823E #AFB73E #72B73E
triadic
#AFB73E #3EAFB7 #B73EAF
tetradic
#AFB73E #3EB782 #463EB7 #B73E72
square
#AFB73E #3EB782 #463EB7 #B73E72
split-complementary
#AFB73E #3E72B7 #823EB7
monochromatic
#585C1F #83892F #AFB73E #C5CB67 #D6DB94
Accessibility & contrast
On white
2.17
#AFB73E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#AFB73E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB73E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB73E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB73E | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF2D
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#BAAC9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb73e; /* rgb */ color: rgb(175, 183, 62); /* oklch */ color: oklch(75.0% 0.142 113.0);
Tailwind
colors: {
custom: {
50: '#cacc7a',
500: '#afb73e',
950: '#000000',
},
}SCSS
$custom: #afb73e; $custom-light: #cacc7a; $custom-dark: #000000;
JSON
{
"hex": "#afb73e",
"rgb": {
"r": 175,
"g": 183,
"b": 62
},
"hsl": {
"h": 63.967,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.7504,
"c": 0.14215,
"h": 113
},
"luminance": 0.43329
}Semantic roles & 50–950 ramp
primary
#AFB73E
secondary
#8E8AC6
accent
#4FD958
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C