#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
RGBrgb(153, 175, 40)
HSLhsl(70, 63%, 42%)
HSVhsv(70, 77%, 69%)
CMYKcmyk(12.6%, 0%, 77.1%, 31.4%)
CIE-LABlab(67.71, -24.81, 61.48)
CIE-LCHlch(67.71, 66.30, 111.98°)
OKLaboklab(71.32% -0.0743 0.1351)
OKLCHoklch(71.32% 0.154 118.8)
XYZxyz(28.8505, 37.5857, 7.7420)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##99AF281.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.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

Preview Lab

Preview with #99AF28

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#99AF28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva