#99A227#99A227

#99A227 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.3% C 0.140 H 113.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#99A227
RGBrgb(153, 162, 39)
HSLhsl(64, 61%, 39%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(5.6%, 0%, 75.9%, 36.5%)
CIE-LABlab(63.97, -18.35, 58.33)
CIE-LCHlch(63.97, 61.15, 107.46°)
OKLaboklab(68.31% -0.0565 0.1282)
OKLCHoklch(68.31% 0.14 113.8)
XYZxyz(26.4242, 32.7600, 6.8504)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99A227 #3027A2
analogous
#A26E27 #99A227 #5CA227
triadic
#99A227 #2799A2 #A22799
tetradic
#99A227 #27A26E #3027A2 #A2275C
square
#99A227 #27A26E #3027A2 #A2275C
split-complementary
#99A227 #275CA2 #6E27A2
monochromatic
#3C3F0F #6A711B #99A227 #C4CF37 #D2DB69

Accessibility & contrast

On white

2.78
#99A227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#99A227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99A227
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99A227#FFFFFF#000000##000000
##99A2271.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A09
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A3988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #99a227;
/* rgb */ color: rgb(153, 162, 39);
/* oklch */ color: oklch(68.3% 0.140 113.8);
Tailwind
colors: {
  custom: {
    50: '#babd6b',
    500: '#99a227',
    950: '#000000',
  },
}
SCSS
$custom: #99a227;
$custom-light: #babd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#99a227",
  "rgb": {
    "r": 153,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 64.39,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68307,
    "c": 0.14011,
    "h": 113.8
  },
  "luminance": 0.32759
}

Semantic roles & 50–950 ramp

primary
#99A227
secondary
#6B64C1
accent
#43E44F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #99A227

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

Preview Lab → · Contrast checker → · Palette generator →

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