#99B228#99B228

#99B228 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.0% C 0.158 H 119.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#99B228
RGBrgb(153, 178, 40)
HSLhsl(71, 63%, 43%)
HSVhsv(71, 78%, 70%)
CMYKcmyk(14%, 0%, 77.5%, 30.2%)
CIE-LABlab(68.58, -26.27, 62.28)
CIE-LCHlch(68.58, 67.59, 112.87°)
OKLaboklab(72.02% -0.0783 0.1368)
OKLCHoklch(72.02% 0.158 119.8)
XYZxyz(29.4409, 38.7664, 7.9388)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99B228 #4128B2
analogous
#B28628 #99B228 #54B228
triadic
#99B228 #2899B2 #B22899
tetradic
#99B228 #28B286 #4128B2 #B22854
square
#99B228 #28B286 #4128B2 #B22854
split-complementary
#99B228 #2854B2 #8628B2
monochromatic
#434E12 #6E801D #99B228 #BAD543 #CCE075

Accessibility & contrast

On white

2.40
#99B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#99B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99B228
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99B228#FFFFFF#000000##000000
##99B2281.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#A2A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #99b228;
/* rgb */ color: rgb(153, 178, 40);
/* oklch */ color: oklch(72.0% 0.158 119.8);
Tailwind
colors: {
  custom: {
    50: '#bbc96e',
    500: '#99b228',
    950: '#000000',
  },
}
SCSS
$custom: #99b228;
$custom-light: #bbc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#99b228",
  "rgb": {
    "r": 153,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 70.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7202,
    "c": 0.15758,
    "h": 119.8
  },
  "luminance": 0.38766
}

Semantic roles & 50–950 ramp

primary
#99B228
secondary
#7F6FC7
accent
#41E65F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #99B228

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

Preview Lab → · Contrast checker → · Palette generator →

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