#229F31#229F31

#229F31 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.182 H 144.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#229F31
RGBrgb(34, 159, 49)
HSLhsl(127, 65%, 38%)
HSVhsv(127, 79%, 62%)
CMYKcmyk(78.6%, 0%, 69.2%, 37.6%)
CIE-LABlab(57.42, -54.88, 46.16)
CIE-LCHlch(57.42, 71.71, 139.93°)
OKLaboklab(61.49% -0.1483 0.1061)
OKLCHoklch(61.49% 0.182 144.4)
XYZxyz(13.6113, 25.3565, 7.0821)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F31 #9F2290
analogous
#519F22 #229F31 #229F6F
triadic
#229F31 #31229F #9F3122
tetradic
#229F31 #22519F #9F2290 #9F6F22
square
#229F31 #22519F #9F2290 #9F6F22
split-complementary
#229F31 #6F229F #9F2251
monochromatic
#0C3A12 #176D21 #229F31 #2DD141 #5FDD6E

Accessibility & contrast

On white

3.46
#229F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#229F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F31
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F31#FFFFFF#000000##000000
##229F311.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#94863B
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f31;
/* rgb */ color: rgb(34, 159, 49);
/* oklch */ color: oklch(61.5% 0.182 144.4);
Tailwind
colors: {
  custom: {
    50: '#74bd6f',
    500: '#229f31',
    950: '#000000',
  },
}
SCSS
$custom: #229f31;
$custom-light: #74bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#229f31",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 127.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.18235,
    "h": 144.4
  },
  "luminance": 0.25358
}

Semantic roles & 50–950 ramp

primary
#229F31
secondary
#C15BB5
accent
#40D4E8
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #229F31

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

Preview Lab → · Contrast checker → · Palette generator →

#229F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva