#AFB73A#AFB73A
#AFB73A is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.0% C 0.145 H 113.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB73A |
|---|---|
| RGB | rgb(175, 183, 58) |
| HSL | hsl(64, 52%, 47%) |
| HSV | hsv(64, 68%, 72%) |
| CMYK | cmyk(4.4%, 0%, 68.3%, 28.2%) |
| CIE-LAB | lab(71.75, -18.56, 59.60) |
| CIE-LCH | lch(71.75, 62.42, 107.30°) |
| OKLab | oklab(75.01% -0.0566 0.1335) |
| OKLCH | oklch(75.01% 0.145 113) |
| XYZ | xyz(35.3774, 43.2872, 10.4938) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.18
Snot
#ACBB0D
ΔE00 3.31
Sick Green
#9DB92C
ΔE00 4.30
Pea
#A4BF20
ΔE00 4.40
Puke Green
#9AAE07
ΔE00 4.54
Booger
#9BB53C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB73A #423AB7
analogous
#B7813A #AFB73A #71B73A
triadic
#AFB73A #3AAFB7 #B73AAF
tetradic
#AFB73A #3AB781 #423AB7 #B73A71
square
#AFB73A #3AB781 #423AB7 #B73A71
split-complementary
#AFB73A #3A71B7 #813AB7
monochromatic
#565A1D #83892B #AFB73A #C6CD61 #D7DC90
Accessibility & contrast
On white
2.17
#AFB73A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#AFB73A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB73A
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB73A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB73A | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#BBAC9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb73a; /* rgb */ color: rgb(175, 183, 58); /* oklch */ color: oklch(75.0% 0.145 113.0);
Tailwind
colors: {
custom: {
50: '#cacc78',
500: '#afb73a',
950: '#000000',
},
}SCSS
$custom: #afb73a; $custom-light: #cacc78; $custom-dark: #000000;
JSON
{
"hex": "#afb73a",
"rgb": {
"r": 175,
"g": 183,
"b": 58
},
"hsl": {
"h": 63.84,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.75008,
"c": 0.14497,
"h": 113
},
"luminance": 0.43286
}Semantic roles & 50–950 ramp
primary
#AFB73A
secondary
#8A86C7
accent
#4CDB56
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B