#299227#299227

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

Color values

HEX#299227
RGBrgb(41, 146, 39)
HSLhsl(119, 58%, 36%)
HSVhsv(119, 73%, 57%)
CMYKcmyk(71.9%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.14, -50.30, 45.74)
CIE-LCHlch(53.14, 67.98, 137.72°)
OKLaboklab(57.95% -0.1366 0.104)
OKLCHoklch(57.95% 0.172 142.7)
XYZxyz(11.5589, 21.1744, 5.3970)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#299227 #902792
analogous
#5F9227 #299227 #27925B
triadic
#299227 #272992 #922729
tetradic
#299227 #275F92 #902792 #925B27
square
#299227 #275F92 #902792 #925B27
split-complementary
#299227 #5B2792 #92275F
monochromatic
#0E310D #1B621A #299227 #37C234 #61D45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##299227#FFFFFF#000000##000000
##2992271.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)
#958415
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#078E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #299227;
/* rgb */ color: rgb(41, 146, 39);
/* oklch */ color: oklch(57.9% 0.172 142.7);
Tailwind
colors: {
  custom: {
    50: '#73b368',
    500: '#299227',
    950: '#000000',
  },
}
SCSS
$custom: #299227;
$custom-light: #73b368;
$custom-dark: #000000;
JSON
{
  "hex": "#299227",
  "rgb": {
    "r": 41,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 118.879,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.17171,
    "h": 142.7
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#299227
secondary
#B85BBA
accent
#47E1DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #299227

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

Preview Lab → · Contrast checker → · Palette generator →

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