#AFBE3E#AFBE3E
#AFBE3E is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.150 H 115.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE3E |
|---|---|
| RGB | rgb(175, 190, 62) |
| HSL | hsl(67, 51%, 49%) |
| HSV | hsv(67, 67%, 75%) |
| CMYK | cmyk(7.9%, 0%, 67.4%, 25.5%) |
| CIE-LAB | lab(73.73, -21.82, 60.05) |
| CIE-LCH | lch(73.73, 63.89, 109.97°) |
| OKLab | oklab(76.61% -0.0653 0.1351) |
| OKLCH | oklch(76.61% 0.15 115.8) |
| XYZ | xyz(36.9630, 46.2892, 11.5440) |
| Luminance | 0.4629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.97
Snot
#ACBB0D
ΔE00 3.26
Sick Green
#9DB92C
ΔE00 3.38
Gross Green
#A0BF16
ΔE00 3.73
Mustard Green
#A8B504
ΔE00 3.99
Bile
#B5C306
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE3E #4D3EBE
analogous
#BE8D3E #AFBE3E #6FBE3E
triadic
#AFBE3E #3EAFBE #BE3EAF
tetradic
#AFBE3E #3EBE8D #4D3EBE #BE3E6F
square
#AFBE3E #3EBE8D #4D3EBE #BE3E6F
split-complementary
#AFBE3E #3E6FBE #8D3EBE
monochromatic
#5A6220 #85902F #AFBE3E #C3CF6B #D6DE99
Accessibility & contrast
On white
2.05
#AFBE3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#AFBE3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE3E
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE3E | 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)
#CBB42B
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe3e; /* rgb */ color: rgb(175, 190, 62); /* oklch */ color: oklch(76.6% 0.150 115.8);
Tailwind
colors: {
custom: {
50: '#cad17a',
500: '#afbe3e',
950: '#000000',
},
}SCSS
$custom: #afbe3e; $custom-light: #cad17a; $custom-dark: #000000;
JSON
{
"hex": "#afbe3e",
"rgb": {
"r": 175,
"g": 190,
"b": 62
},
"hsl": {
"h": 67.031,
"s": 50.794,
"l": 49.412
},
"oklch": {
"l": 0.76606,
"c": 0.15003,
"h": 115.8
},
"luminance": 0.46289
}Semantic roles & 50–950 ramp
primary
#AFBE3E
secondary
#958EC9
accent
#4EDA5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C