#AFBF3E#AFBF3E
#AFBF3E is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.151 H 116.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF3E |
|---|---|
| RGB | rgb(175, 191, 62) |
| HSL | hsl(67, 51%, 50%) |
| HSV | hsv(67, 68%, 75%) |
| CMYK | cmyk(8.4%, 0%, 67.5%, 25.1%) |
| CIE-LAB | lab(74.01, -22.31, 60.34) |
| CIE-LCH | lch(74.01, 64.33, 110.29°) |
| OKLab | oklab(76.83% -0.0666 0.1357) |
| OKLCH | oklch(76.83% 0.151 116.2) |
| XYZ | xyz(37.1804, 46.7239, 11.6165) |
| Luminance | 0.4672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.83
Snot
#ACBB0D
ΔE00 3.32
Sick Green
#9DB92C
ΔE00 3.34
Gross Green
#A0BF16
ΔE00 3.58
Bile
#B5C306
ΔE00 4.05
Bright Olive
#9CBB04
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF3E #4E3EBF
analogous
#BF8F3E #AFBF3E #6FBF3E
triadic
#AFBF3E #3EAFBF #BF3EAF
tetradic
#AFBF3E #3EBF8F #4E3EBF #BF3E6F
square
#AFBF3E #3EBF8F #4E3EBF #BF3E6F
split-complementary
#AFBF3E #3E6FBF #8F3EBF
monochromatic
#5A6320 #85912F #AFBF3E #C3CF6B #D6DE99
Accessibility & contrast
On white
2.03
#AFBF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#AFBF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF3E
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF3E | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB52B
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf3e; /* rgb */ color: rgb(175, 191, 62); /* oklch */ color: oklch(76.8% 0.151 116.2);
Tailwind
colors: {
custom: {
50: '#cad27b',
500: '#afbf3e',
950: '#000000',
},
}SCSS
$custom: #afbf3e; $custom-light: #cad27b; $custom-dark: #000000;
JSON
{
"hex": "#afbf3e",
"rgb": {
"r": 175,
"g": 191,
"b": 62
},
"hsl": {
"h": 67.442,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.76831,
"c": 0.15117,
"h": 116.2
},
"luminance": 0.46723
}Semantic roles & 50–950 ramp
primary
#AFBF3E
secondary
#968FCA
accent
#4DDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C