#99AF28#99AF28
#99AF28 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.3% C 0.154 H 118.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #99AF28 |
|---|---|
| RGB | rgb(153, 175, 40) |
| HSL | hsl(70, 63%, 42%) |
| HSV | hsv(70, 77%, 69%) |
| CMYK | cmyk(12.6%, 0%, 77.1%, 31.4%) |
| CIE-LAB | lab(67.71, -24.81, 61.48) |
| CIE-LCH | lch(67.71, 66.30, 111.98°) |
| OKLab | oklab(71.32% -0.0743 0.1351) |
| OKLCH | oklch(71.32% 0.154 118.8) |
| XYZ | xyz(28.8505, 37.5857, 7.7420) |
| Luminance | 0.3759 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.70
Barf Green
#94AC02
ΔE00 1.96
Icky Green
#8FAE22
ΔE00 1.98
Puke Green
#9AAE07
ΔE00 1.99
Pea Green
#8EAB12
ΔE00 2.18
Booger Green
#96B403
ΔE00 2.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#99AF28 #3E28AF
analogous
#AF8228 #99AF28 #55AF28
triadic
#99AF28 #2899AF #AF2899
tetradic
#99AF28 #28AF82 #3E28AF #AF2855
square
#99AF28 #28AF82 #3E28AF #AF2855
split-complementary
#99AF28 #2855AF #8228AF
monochromatic
#424B11 #6D7D1D #99AF28 #BCD441 #CDDF73
Accessibility & contrast
On white
2.47
#99AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#99AF28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #99AF28
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##99AF28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##99AF28 | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA502
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#A2A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #99af28; /* rgb */ color: rgb(153, 175, 40); /* oklch */ color: oklch(71.3% 0.154 118.8);
Tailwind
colors: {
custom: {
50: '#bbc66d',
500: '#99af28',
950: '#000000',
},
}SCSS
$custom: #99af28; $custom-light: #bbc66d; $custom-dark: #000000;
JSON
{
"hex": "#99af28",
"rgb": {
"r": 153,
"g": 175,
"b": 40
},
"hsl": {
"h": 69.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.71321,
"c": 0.15413,
"h": 118.8
},
"luminance": 0.37585
}Semantic roles & 50–950 ramp
primary
#99AF28
secondary
#7B6DC6
accent
#42E65D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B