#AFBE4B#AFBE4B
#AFBE4B is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.140 H 116.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE4B |
|---|---|
| RGB | rgb(175, 190, 75) |
| HSL | hsl(68, 47%, 52%) |
| HSV | hsv(68, 61%, 75%) |
| CMYK | cmyk(7.9%, 0%, 60.5%, 25.5%) |
| CIE-LAB | lab(73.84, -20.95, 54.79) |
| CIE-LCH | lch(73.84, 58.66, 110.93°) |
| OKLab | oklab(76.72% -0.0615 0.1258) |
| OKLCH | oklch(76.72% 0.14 116.1) |
| XYZ | xyz(37.3634, 46.4494, 13.6526) |
| Luminance | 0.4645 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.85
Booger
#9BB53C
ΔE00 3.87
Light Olive Green
#A4BE5C
ΔE00 4.01
Pea
#A4BF20
ΔE00 4.06
Light Olive
#ACBF69
ΔE00 4.67
Snot
#ACBB0D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE4B #5A4BBE
analogous
#BE944B #AFBE4B #76BE4B
triadic
#AFBE4B #4BAFBE #BE4BAF
tetradic
#AFBE4B #4BBE94 #5A4BBE #BE4B76
square
#AFBE4B #4BBE94 #5A4BBE #BE4B76
split-complementary
#AFBE4B #4B76BE #944BBE
monochromatic
#606926 #899636 #AFBE4B #C3CE78 #D7DEA5
Accessibility & contrast
On white
2.04
#AFBE4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.29
#AFBE4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE4B
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE4B | 1.00 | 2.04 | 10.29 | 10.29 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB53E
Deuteranopia (green-blind)
#C9B652
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe4b; /* rgb */ color: rgb(175, 190, 75); /* oklch */ color: oklch(76.7% 0.140 116.1);
Tailwind
colors: {
custom: {
50: '#c9d182',
500: '#afbe4b',
950: '#000000',
},
}SCSS
$custom: #afbe4b; $custom-light: #c9d182; $custom-dark: #000000;
JSON
{
"hex": "#afbe4b",
"rgb": {
"r": 175,
"g": 190,
"b": 75
},
"hsl": {
"h": 67.826,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.76722,
"c": 0.14007,
"h": 116.1
},
"luminance": 0.46449
}Semantic roles & 50–950 ramp
primary
#AFBE4B
secondary
#A099CC
accent
#51D763
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C