#AFB92F#AFB92F
#AFB92F is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.154 H 113.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB92F |
|---|---|
| RGB | rgb(175, 185, 47) |
| HSL | hsl(64, 59%, 45%) |
| HSV | hsv(64, 75%, 73%) |
| CMYK | cmyk(5.4%, 0%, 74.6%, 27.5%) |
| CIE-LAB | lab(72.24, -20.12, 64.02) |
| CIE-LCH | lch(72.24, 67.11, 107.45°) |
| OKLab | oklab(75.38% -0.0619 0.1409) |
| OKLCH | oklch(75.38% 0.154 113.7) |
| XYZ | xyz(35.5423, 44.0179, 9.3128) |
| Luminance | 0.4402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.08
Mustard Green
#A8B504
ΔE00 2.28
Bile
#B5C306
ΔE00 3.59
Pea
#A4BF20
ΔE00 3.61
Baby Puke Green
#B6C406
ΔE00 3.81
Sick Green
#9DB92C
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB92F #392FB9
analogous
#B97E2F #AFB92F #6AB92F
triadic
#AFB92F #2FAFB9 #B92FAF
tetradic
#AFB92F #2FB97E #392FB9 #B92F6A
square
#AFB92F #2FB97E #392FB9 #B92F6A
split-complementary
#AFB92F #2F6AB9 #7E2FB9
monochromatic
#535716 #818823 #AFB92F #CAD352 #D9DF83
Accessibility & contrast
On white
2.14
#AFB92F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#AFB92F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB92F
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB92F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB92F | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00F
Deuteranopia (green-blind)
#C7B23B
Tritanopia (blue-blind)
#BBAE9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb92f; /* rgb */ color: rgb(175, 185, 47); /* oklch */ color: oklch(75.4% 0.154 113.7);
Tailwind
colors: {
custom: {
50: '#cacd72',
500: '#afb92f',
950: '#000000',
},
}SCSS
$custom: #afb92f; $custom-light: #cacd72; $custom-dark: #000000;
JSON
{
"hex": "#afb92f",
"rgb": {
"r": 175,
"g": 185,
"b": 47
},
"hsl": {
"h": 64.348,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.7538,
"c": 0.15394,
"h": 113.7
},
"luminance": 0.44017
}Semantic roles & 50–950 ramp
primary
#AFB92F
secondary
#817BC9
accent
#45E351
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B