#AFB93F#AFB93F
#AFB93F 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 | #AFB93F |
|---|---|
| RGB | rgb(175, 185, 63) |
| HSL | hsl(65, 49%, 49%) |
| HSV | hsv(65, 66%, 73%) |
| CMYK | cmyk(5.4%, 0%, 65.9%, 27.5%) |
| CIE-LAB | lab(72.34, -19.27, 58.23) |
| CIE-LCH | lch(72.34, 61.34, 108.31°) |
| OKLab | oklab(75.49% -0.0581 0.1314) |
| OKLCH | oklch(75.49% 0.144 113.8) |
| XYZ | xyz(35.9263, 44.1714, 11.3351) |
| Luminance | 0.4417 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.52
Mustard Green
#A8B504
ΔE00 3.66
Sick Green
#9DB92C
ΔE00 3.96
Pea
#A4BF20
ΔE00 4.09
Booger
#9BB53C
ΔE00 4.20
Gross Green
#A0BF16
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB93F #493FB9
analogous
#B9863F #AFB93F #72B93F
triadic
#AFB93F #3FAFB9 #B93FAF
tetradic
#AFB93F #3FB986 #493FB9 #B93F72
square
#AFB93F #3FB986 #493FB9 #B93F72
split-complementary
#AFB93F #3F72B9 #863FB9
monochromatic
#595E20 #848B2F #AFB93F #C4CC69 #D6DC97
Accessibility & contrast
On white
2.14
#AFB93F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#AFB93F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB93F
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB93F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB93F | 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)
#C6B02E
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb93f; /* rgb */ color: rgb(175, 185, 63); /* oklch */ color: oklch(75.5% 0.144 113.8);
Tailwind
colors: {
custom: {
50: '#cacd7b',
500: '#afb93f',
950: '#000000',
},
}SCSS
$custom: #afb93f; $custom-light: #cacd7b; $custom-dark: #000000;
JSON
{
"hex": "#afb93f",
"rgb": {
"r": 175,
"g": 185,
"b": 63
},
"hsl": {
"h": 64.918,
"s": 49.194,
"l": 48.627
},
"oklch": {
"l": 0.75494,
"c": 0.14366,
"h": 113.8
},
"luminance": 0.44171
}Semantic roles & 50–950 ramp
primary
#AFB93F
secondary
#918DC7
accent
#4FD95A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C