#299228#299228

#299228 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.171 H 142.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#299228
RGBrgb(41, 146, 40)
HSLhsl(119, 57%, 36%)
HSVhsv(119, 73%, 57%)
CMYKcmyk(71.9%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.15, -50.21, 45.35)
CIE-LCHlch(53.15, 67.66, 137.91°)
OKLaboklab(57.96% -0.1364 0.1033)
OKLCHoklch(57.96% 0.171 142.9)
XYZxyz(11.5756, 21.1811, 5.4854)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#299228 #912892
analogous
#5E9228 #299228 #28925C
triadic
#299228 #282992 #922829
tetradic
#299228 #285E92 #912892 #925C28
square
#299228 #285E92 #912892 #925C28
split-complementary
#299228 #5C2892 #92285E
monochromatic
#0E320E #1C621B #299228 #36C235 #62D461

Accessibility & contrast

On white

4.01
#299228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#299228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #299228
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##299228#FFFFFF#000000##000000
##2992281.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#078E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #299228;
/* rgb */ color: rgb(41, 146, 40);
/* oklch */ color: oklch(58.0% 0.171 142.9);
Tailwind
colors: {
  custom: {
    50: '#73b368',
    500: '#299228',
    950: '#000000',
  },
}
SCSS
$custom: #299228;
$custom-light: #73b368;
$custom-dark: #000000;
JSON
{
  "hex": "#299228",
  "rgb": {
    "r": 41,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 119.434,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.17106,
    "h": 142.9
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#299228
secondary
#B85DB9
accent
#48E0DF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #299228

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

Preview Lab → · Contrast checker → · Palette generator →

#299228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva