#AFB73F#AFB73F
#AFB73F is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.0% C 0.141 H 113.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB73F |
|---|---|
| RGB | rgb(175, 183, 63) |
| HSL | hsl(64, 49%, 48%) |
| HSV | hsv(64, 66%, 72%) |
| CMYK | cmyk(4.4%, 0%, 65.6%, 28.2%) |
| CIE-LAB | lab(71.79, -18.27, 57.65) |
| CIE-LCH | lch(71.79, 60.48, 107.58°) |
| OKLab | oklab(75.05% -0.0552 0.1302) |
| OKLCH | oklch(75.05% 0.141 113) |
| XYZ | xyz(35.5109, 43.3406, 11.1966) |
| Luminance | 0.4334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.68
Snot
#ACBB0D
ΔE00 3.79
Sick Green
#9DB92C
ΔE00 4.36
Booger
#9BB53C
ΔE00 4.42
Pea
#A4BF20
ΔE00 4.62
Puke Green
#9AAE07
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB73F #473FB7
analogous
#B7833F #AFB73F #73B73F
triadic
#AFB73F #3FAFB7 #B73FAF
tetradic
#AFB73F #3FB783 #473FB7 #B73F73
square
#AFB73F #3FB783 #473FB7 #B73F73
split-complementary
#AFB73F #3F73B7 #833FB7
monochromatic
#585C20 #83892F #AFB73F #C4CB68 #D6DB96
Accessibility & contrast
On white
2.17
#AFB73F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#AFB73F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB73F
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB73F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB73F | 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)
#C4AF2E
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#BAAC9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb73f; /* rgb */ color: rgb(175, 183, 63); /* oklch */ color: oklch(75.0% 0.141 113.0);
Tailwind
colors: {
custom: {
50: '#cacc7a',
500: '#afb73f',
950: '#000000',
},
}SCSS
$custom: #afb73f; $custom-light: #cacc7a; $custom-dark: #000000;
JSON
{
"hex": "#afb73f",
"rgb": {
"r": 175,
"g": 183,
"b": 63
},
"hsl": {
"h": 64,
"s": 48.78,
"l": 48.235
},
"oklch": {
"l": 0.75048,
"c": 0.14142,
"h": 113
},
"luminance": 0.4334
}Semantic roles & 50–950 ramp
primary
#AFB73F
secondary
#8F8BC6
accent
#4FD859
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C