#AFBE3F#AFBE3F
#AFBE3F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.149 H 115.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE3F |
|---|---|
| RGB | rgb(175, 190, 63) |
| HSL | hsl(67, 50%, 50%) |
| HSV | hsv(67, 67%, 75%) |
| CMYK | cmyk(7.9%, 0%, 66.8%, 25.5%) |
| CIE-LAB | lab(73.74, -21.76, 59.67) |
| CIE-LCH | lch(73.74, 63.51, 110.03°) |
| OKLab | oklab(76.61% -0.065 0.1344) |
| OKLCH | oklch(76.61% 0.149 115.8) |
| XYZ | xyz(36.9907, 46.3003, 11.6899) |
| Luminance | 0.4630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.04
Snot
#ACBB0D
ΔE00 3.36
Sick Green
#9DB92C
ΔE00 3.39
Gross Green
#A0BF16
ΔE00 3.79
Mustard Green
#A8B504
ΔE00 4.08
Booger
#9BB53C
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE3F #4E3FBE
analogous
#BE8E3F #AFBE3F #6FBE3F
triadic
#AFBE3F #3FAFBE #BE3FAF
tetradic
#AFBE3F #3FBE8E #4E3FBE #BE3F6F
square
#AFBE3F #3FBE8E #4E3FBE #BE3F6F
split-complementary
#AFBE3F #3F6FBE #8E3FBE
monochromatic
#5A6221 #859030 #AFBE3F #C3CE6C #D6DD9A
Accessibility & contrast
On white
2.05
#AFBE3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#AFBE3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE3F
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE3F | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB42D
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe3f; /* rgb */ color: rgb(175, 190, 63); /* oklch */ color: oklch(76.6% 0.149 115.8);
Tailwind
colors: {
custom: {
50: '#cad17b',
500: '#afbe3f',
950: '#000000',
},
}SCSS
$custom: #afbe3f; $custom-light: #cad17b; $custom-dark: #000000;
JSON
{
"hex": "#afbe3f",
"rgb": {
"r": 175,
"g": 190,
"b": 63
},
"hsl": {
"h": 67.087,
"s": 50.198,
"l": 49.608
},
"oklch": {
"l": 0.76614,
"c": 0.14932,
"h": 115.8
},
"luminance": 0.463
}Semantic roles & 50–950 ramp
primary
#AFBE3F
secondary
#968FC9
accent
#4EDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C