#AFB73B#AFB73B
#AFB73B is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.0% C 0.144 H 113.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB73B |
|---|---|
| RGB | rgb(175, 183, 59) |
| HSL | hsl(64, 51%, 47%) |
| HSV | hsv(64, 68%, 72%) |
| CMYK | cmyk(4.4%, 0%, 67.8%, 28.2%) |
| CIE-LAB | lab(71.76, -18.51, 59.22) |
| CIE-LCH | lch(71.76, 62.04, 107.36°) |
| OKLab | oklab(75.02% -0.0563 0.1328) |
| OKLCH | oklch(75.02% 0.144 113) |
| XYZ | xyz(35.4031, 43.2975, 10.6291) |
| Luminance | 0.4330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.27
Snot
#ACBB0D
ΔE00 3.40
Sick Green
#9DB92C
ΔE00 4.31
Pea
#A4BF20
ΔE00 4.44
Booger
#9BB53C
ΔE00 4.55
Puke Green
#9AAE07
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB73B #433BB7
analogous
#B7813B #AFB73B #71B73B
triadic
#AFB73B #3BAFB7 #B73BAF
tetradic
#AFB73B #3BB781 #433BB7 #B73B71
square
#AFB73B #3BB781 #433BB7 #B73B71
split-complementary
#AFB73B #3B71B7 #813BB7
monochromatic
#565A1D #83892C #AFB73B #C6CD63 #D7DC91
Accessibility & contrast
On white
2.17
#AFB73B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#AFB73B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB73B
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB73B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB73B | 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)
#C4AE28
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#BBAC9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb73b; /* rgb */ color: rgb(175, 183, 59); /* oklch */ color: oklch(75.0% 0.144 113.0);
Tailwind
colors: {
custom: {
50: '#cacc78',
500: '#afb73b',
950: '#000000',
},
}SCSS
$custom: #afb73b; $custom-light: #cacc78; $custom-dark: #000000;
JSON
{
"hex": "#afb73b",
"rgb": {
"r": 175,
"g": 183,
"b": 59
},
"hsl": {
"h": 63.871,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.75016,
"c": 0.14429,
"h": 113
},
"luminance": 0.43297
}Semantic roles & 50–950 ramp
primary
#AFB73B
secondary
#8B87C6
accent
#4DDB56
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B