#AFBB3B#AFBB3B
#AFBB3B is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.149 H 114.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB3B |
|---|---|
| RGB | rgb(175, 187, 59) |
| HSL | hsl(66, 52%, 48%) |
| HSV | hsv(66, 68%, 73%) |
| CMYK | cmyk(6.4%, 0%, 68.4%, 26.7%) |
| CIE-LAB | lab(72.87, -20.51, 60.34) |
| CIE-LCH | lch(72.87, 63.73, 108.77°) |
| OKLab | oklab(75.91% -0.0619 0.1352) |
| OKLCH | oklch(75.91% 0.149 114.6) |
| XYZ | xyz(36.2399, 44.9710, 10.9080) |
| Luminance | 0.4497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.95
Mustard Green
#A8B504
ΔE00 3.38
Pea
#A4BF20
ΔE00 3.41
Sick Green
#9DB92C
ΔE00 3.62
Bile
#B5C306
ΔE00 4.15
Gross Green
#A0BF16
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB3B #473BBB
analogous
#BB873B #AFBB3B #6FBB3B
triadic
#AFBB3B #3BAFBB #BB3BAF
tetradic
#AFBB3B #3BBB87 #473BBB #BB3B6F
square
#AFBB3B #3BBB87 #473BBB #BB3B6F
split-complementary
#AFBB3B #3B6FBB #873BBB
monochromatic
#585E1E #838C2C #AFBB3B #C4CE65 #D6DD93
Accessibility & contrast
On white
2.10
#AFBB3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#AFBB3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB3B
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB3B | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B227
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb3b; /* rgb */ color: rgb(175, 187, 59); /* oklch */ color: oklch(75.9% 0.149 114.6);
Tailwind
colors: {
custom: {
50: '#cacf79',
500: '#afbb3b',
950: '#000000',
},
}SCSS
$custom: #afbb3b; $custom-light: #cacf79; $custom-dark: #000000;
JSON
{
"hex": "#afbb3b",
"rgb": {
"r": 175,
"g": 187,
"b": 59
},
"hsl": {
"h": 65.625,
"s": 52.033,
"l": 48.235
},
"oklch": {
"l": 0.7591,
"c": 0.14871,
"h": 114.6
},
"luminance": 0.4497
}Semantic roles & 50–950 ramp
primary
#AFBB3B
secondary
#8F8AC8
accent
#4CDB5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B