#99A228#99A228

#99A228 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#99A228
RGBrgb(153, 162, 40)
HSLhsl(64, 60%, 40%)
HSVhsv(64, 75%, 64%)
CMYKcmyk(5.6%, 0%, 75.3%, 36.5%)
CIE-LABlab(63.97, -18.31, 58.00)
CIE-LCHlch(63.97, 60.82, 107.52°)
OKLaboklab(68.31% -0.0563 0.1277)
OKLCHoklch(68.31% 0.14 113.8)
XYZxyz(26.4410, 32.7667, 6.9388)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99A228 #3128A2
analogous
#A26E28 #99A228 #5CA228
triadic
#99A228 #2899A2 #A22899
tetradic
#99A228 #28A26E #3128A2 #A2285C
square
#99A228 #28A26E #3128A2 #A2285C
split-complementary
#99A228 #285CA2 #6E28A2
monochromatic
#3C4010 #6B711C #99A228 #C3CE39 #D2DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##99A228#FFFFFF#000000##000000
##99A2281.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)
#AE9A0C
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A3988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #99a228;
/* rgb */ color: rgb(153, 162, 40);
/* oklch */ color: oklch(68.3% 0.140 113.8);
Tailwind
colors: {
  custom: {
    50: '#babd6c',
    500: '#99a228',
    950: '#000000',
  },
}
SCSS
$custom: #99a228;
$custom-light: #babd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#99a228",
  "rgb": {
    "r": 153,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 64.426,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.13955,
    "h": 113.8
  },
  "luminance": 0.32766
}

Semantic roles & 50–950 ramp

primary
#99A228
secondary
#6C65C1
accent
#44E450
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #99A228

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

Preview Lab → · Contrast checker → · Palette generator →

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