#AFB82F#AFB82F
#AFB82F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.153 H 113.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB82F |
|---|---|
| RGB | rgb(175, 184, 47) |
| HSL | hsl(64, 59%, 45%) |
| HSV | hsv(64, 74%, 72%) |
| CMYK | cmyk(4.9%, 0%, 74.5%, 27.8%) |
| CIE-LAB | lab(71.96, -19.62, 63.76) |
| CIE-LCH | lch(71.96, 66.71, 107.11°) |
| OKLab | oklab(75.16% -0.0606 0.1404) |
| OKLCH | oklch(75.16% 0.153 113.3) |
| XYZ | xyz(35.3339, 43.6009, 9.2433) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.25
Mustard Green
#A8B504
ΔE00 2.25
Bile
#B5C306
ΔE00 3.81
Pea
#A4BF20
ΔE00 3.88
Baby Puke Green
#B6C406
ΔE00 4.03
Sick Green
#9DB92C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB82F #382FB8
analogous
#B87D2F #AFB82F #6AB82F
triadic
#AFB82F #2FAFB8 #B82FAF
tetradic
#AFB82F #2FB87D #382FB8 #B82F6A
square
#AFB82F #2FB87D #382FB8 #B82F6A
split-complementary
#AFB82F #2F6AB8 #7D2FB8
monochromatic
#525716 #818723 #AFB82F #CAD352 #D9DF82
Accessibility & contrast
On white
2.16
#AFB82F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#AFB82F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB82F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB82F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB82F | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF10
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#BBAD9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb82f; /* rgb */ color: rgb(175, 184, 47); /* oklch */ color: oklch(75.2% 0.153 113.3);
Tailwind
colors: {
custom: {
50: '#cacd72',
500: '#afb82f',
950: '#000000',
},
}SCSS
$custom: #afb82f; $custom-light: #cacd72; $custom-dark: #000000;
JSON
{
"hex": "#afb82f",
"rgb": {
"r": 175,
"g": 184,
"b": 47
},
"hsl": {
"h": 63.942,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.75156,
"c": 0.15288,
"h": 113.3
},
"luminance": 0.436
}Semantic roles & 50–950 ramp
primary
#AFB82F
secondary
#807BC8
accent
#45E250
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B