#99AF27#99AF27

#99AF27 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.52:1 contrast (WCAG AA passes).

Color values

HEX#99AF27
RGBrgb(153, 175, 39)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 69%)
CMYKcmyk(12.6%, 0%, 77.7%, 31.4%)
CIE-LABlab(67.71, -24.85, 61.79)
CIE-LCHlch(67.71, 66.60, 111.91°)
OKLaboklab(71.32% -0.0745 0.1355)
OKLCHoklch(71.32% 0.155 118.8)
XYZxyz(28.8337, 37.5790, 7.6536)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99AF27 #3D27AF
analogous
#AF8127 #99AF27 #55AF27
triadic
#99AF27 #2799AF #AF2799
tetradic
#99AF27 #27AF81 #3D27AF #AF2755
square
#99AF27 #27AF81 #3D27AF #AF2755
split-complementary
#99AF27 #2755AF #8127AF
monochromatic
#414B11 #6D7D1C #99AF27 #BCD43F #CEDF71

Accessibility & contrast

On white

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

On black

8.52
#99AF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99AF27
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99AF27#FFFFFF#000000##000000
##99AF271.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)
#BBA500
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#A2A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #99af27;
/* rgb */ color: rgb(153, 175, 39);
/* oklch */ color: oklch(71.3% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#bbc66d',
    500: '#99af27',
    950: '#000000',
  },
}
SCSS
$custom: #99af27;
$custom-light: #bbc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#99af27",
  "rgb": {
    "r": 153,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 69.706,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71315,
    "c": 0.15465,
    "h": 118.8
  },
  "luminance": 0.37579
}

Semantic roles & 50–950 ramp

primary
#99AF27
secondary
#7A6BC6
accent
#41E75C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #99AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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