#AFB93A#AFB93A
#AFB93A is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.147 H 113.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB93A |
|---|---|
| RGB | rgb(175, 185, 58) |
| HSL | hsl(65, 52%, 48%) |
| HSV | hsv(65, 69%, 73%) |
| CMYK | cmyk(5.4%, 0%, 68.6%, 27.5%) |
| CIE-LAB | lab(72.31, -19.57, 60.16) |
| CIE-LCH | lch(72.31, 63.26, 108.02°) |
| OKLab | oklab(75.46% -0.0594 0.1347) |
| OKLCH | oklch(75.46% 0.147 113.8) |
| XYZ | xyz(35.7929, 44.1181, 10.6323) |
| Luminance | 0.4412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.02
Mustard Green
#A8B504
ΔE00 3.17
Pea
#A4BF20
ΔE00 3.86
Sick Green
#9DB92C
ΔE00 3.92
Bile
#B5C306
ΔE00 4.38
Booger
#9BB53C
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB93A #443AB9
analogous
#B9833A #AFB93A #70B93A
triadic
#AFB93A #3AAFB9 #B93AAF
tetradic
#AFB93A #3AB983 #443AB9 #B93A70
square
#AFB93A #3AB983 #443AB9 #B93A70
split-complementary
#AFB93A #3A70B9 #833AB9
monochromatic
#575C1D #838A2B #AFB93A #C5CE62 #D7DC91
Accessibility & contrast
On white
2.14
#AFB93A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#AFB93A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB93A
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB93A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB93A | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B026
Deuteranopia (green-blind)
#C6B343
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb93a; /* rgb */ color: rgb(175, 185, 58); /* oklch */ color: oklch(75.5% 0.147 113.8);
Tailwind
colors: {
custom: {
50: '#cacd78',
500: '#afb93a',
950: '#000000',
},
}SCSS
$custom: #afb93a; $custom-light: #cacd78; $custom-dark: #000000;
JSON
{
"hex": "#afb93a",
"rgb": {
"r": 175,
"g": 185,
"b": 58
},
"hsl": {
"h": 64.724,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.75455,
"c": 0.14717,
"h": 113.8
},
"luminance": 0.44117
}Semantic roles & 50–950 ramp
primary
#AFB93A
secondary
#8C87C7
accent
#4CDC57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B