#99AF26#99AF26

#99AF26 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.3% C 0.155 H 118.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#99AF26
RGBrgb(153, 175, 38)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 69%)
CMYKcmyk(12.6%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.70, -24.90, 62.09)
CIE-LCHlch(67.70, 66.89, 111.85°)
OKLaboklab(71.31% -0.0747 0.136)
OKLCHoklch(71.31% 0.155 118.8)
XYZxyz(28.8173, 37.5724, 7.5674)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99AF26 #3C26AF
analogous
#AF8126 #99AF26 #55AF26
triadic
#99AF26 #2699AF #AF2699
tetradic
#99AF26 #26AF81 #3C26AF #AF2655
square
#99AF26 #26AF81 #3C26AF #AF2655
split-complementary
#99AF26 #2655AF #8126AF
monochromatic
#414A10 #6D7D1B #99AF26 #BDD53D #CEE070

Accessibility & contrast

On white

2.47
#99AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#99AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99AF26
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99AF26#FFFFFF#000000##000000
##99AF261.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#A2A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #99af26;
/* rgb */ color: rgb(153, 175, 38);
/* oklch */ color: oklch(71.3% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#bbc66d',
    500: '#99af26',
    950: '#000000',
  },
}
SCSS
$custom: #99af26;
$custom-light: #bbc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#99af26",
  "rgb": {
    "r": 153,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 69.635,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71309,
    "c": 0.15516,
    "h": 118.8
  },
  "luminance": 0.37572
}

Semantic roles & 50–950 ramp

primary
#99AF26
secondary
#796AC7
accent
#40E75B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #99AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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