#AFB93E#AFB93E
#AFB93E is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.144 H 113.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB93E |
|---|---|
| RGB | rgb(175, 185, 62) |
| HSL | hsl(65, 50%, 48%) |
| HSV | hsv(65, 66%, 73%) |
| CMYK | cmyk(5.4%, 0%, 66.5%, 27.5%) |
| CIE-LAB | lab(72.34, -19.33, 58.62) |
| CIE-LCH | lch(72.34, 61.73, 108.25°) |
| OKLab | oklab(75.49% -0.0583 0.1321) |
| OKLCH | oklch(75.49% 0.144 113.8) |
| XYZ | xyz(35.8986, 44.1604, 11.1892) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.42
Mustard Green
#A8B504
ΔE00 3.56
Sick Green
#9DB92C
ΔE00 3.95
Pea
#A4BF20
ΔE00 4.04
Booger
#9BB53C
ΔE00 4.23
Bile
#B5C306
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB93E #483EB9
analogous
#B9853E #AFB93E #71B93E
triadic
#AFB93E #3EAFB9 #B93EAF
tetradic
#AFB93E #3EB985 #483EB9 #B93E71
square
#AFB93E #3EB985 #483EB9 #B93E71
split-complementary
#AFB93E #3E71B9 #853EB9
monochromatic
#585D1F #848B2F #AFB93E #C4CC68 #D6DC96
Accessibility & contrast
On white
2.14
#AFB93E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#AFB93E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB93E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB93E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB93E | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B02C
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb93e; /* rgb */ color: rgb(175, 185, 62); /* oklch */ color: oklch(75.5% 0.144 113.8);
Tailwind
colors: {
custom: {
50: '#cacd7a',
500: '#afb93e',
950: '#000000',
},
}SCSS
$custom: #afb93e; $custom-light: #cacd7a; $custom-dark: #000000;
JSON
{
"hex": "#afb93e",
"rgb": {
"r": 175,
"g": 185,
"b": 62
},
"hsl": {
"h": 64.878,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.75486,
"c": 0.14438,
"h": 113.8
},
"luminance": 0.4416
}Semantic roles & 50–950 ramp
primary
#AFB93E
secondary
#908CC7
accent
#4ED95A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C