#AFBB45#AFBB45
#AFBB45 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.141 H 114.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB45 |
|---|---|
| RGB | rgb(175, 187, 69) |
| HSL | hsl(66, 46%, 50%) |
| HSV | hsv(66, 63%, 73%) |
| CMYK | cmyk(6.4%, 0%, 63.1%, 26.7%) |
| CIE-LAB | lab(72.95, -19.88, 56.40) |
| CIE-LCH | lch(72.95, 59.80, 109.42°) |
| OKLab | oklab(75.99% -0.0592 0.1284) |
| OKLCH | oklch(75.99% 0.141 114.7) |
| XYZ | xyz(36.5246, 45.0849, 12.4072) |
| Luminance | 0.4508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 3.83
Booger
#9BB53C
ΔE00 3.92
Pea
#A4BF20
ΔE00 4.03
Snot
#ACBB0D
ΔE00 4.04
Mustard Green
#A8B504
ΔE00 4.37
Gross Green
#A0BF16
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB45 #5145BB
analogous
#BB8C45 #AFBB45 #74BB45
triadic
#AFBB45 #45AFBB #BB45AF
tetradic
#AFBB45 #45BB8C #5145BB #BB4574
square
#AFBB45 #45BB8C #5145BB #BB4574
split-complementary
#AFBB45 #4574BB #8C45BB
monochromatic
#5C6224 #858F34 #AFBB45 #C2CB72 #D6DC9F
Accessibility & contrast
On white
2.10
#AFBB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#AFBB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB45
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB45 | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb45; /* rgb */ color: rgb(175, 187, 69); /* oklch */ color: oklch(76.0% 0.141 114.7);
Tailwind
colors: {
custom: {
50: '#cacf7e',
500: '#afbb45',
950: '#000000',
},
}SCSS
$custom: #afbb45; $custom-light: #cacf7e; $custom-dark: #000000;
JSON
{
"hex": "#afbb45",
"rgb": {
"r": 175,
"g": 187,
"b": 69
},
"hsl": {
"h": 66.102,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.75994,
"c": 0.14139,
"h": 114.7
},
"luminance": 0.45084
}Semantic roles & 50–950 ramp
primary
#AFBB45
secondary
#9994C8
accent
#52D65F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C