#229D1F#229D1F

#229D1F is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.8% C 0.191 H 142.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#229D1F
RGBrgb(34, 157, 31)
HSLhsl(119, 67%, 37%)
HSVhsv(119, 80%, 62%)
CMYKcmyk(78.3%, 0%, 80.3%, 38.4%)
CIE-LABlab(56.64, -55.71, 51.97)
CIE-LCHlch(56.64, 76.19, 136.99°)
OKLaboklab(60.8% -0.1514 0.1159)
OKLCHoklch(60.8% 0.191 142.6)
XYZxyz(12.9632, 24.5514, 5.3518)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229D1F #9A1F9D
analogous
#619D1F #229D1F #1F9D5B
triadic
#229D1F #1F229D #9D1F22
tetradic
#229D1F #1F619D #9A1F9D #9D5B1F
square
#229D1F #1F619D #9A1F9D #9D5B1F
split-complementary
#229D1F #5B1F9D #9D1F61
monochromatic
#0C370B #176A15 #229D1F #2DD029 #5CDE58

Accessibility & contrast

On white

3.55
#229D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#229D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229D1F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229D1F#FFFFFF#000000##000000
##229D1F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #229d1f;
/* rgb */ color: rgb(34, 157, 31);
/* oklch */ color: oklch(60.8% 0.191 142.6);
Tailwind
colors: {
  custom: {
    50: '#74bb65',
    500: '#229d1f',
    950: '#000000',
  },
}
SCSS
$custom: #229d1f;
$custom-light: #74bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#229d1f",
  "rgb": {
    "r": 34,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 118.571,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.19064,
    "h": 142.6
  },
  "luminance": 0.24553
}

Semantic roles & 50–950 ramp

primary
#229D1F
secondary
#BF56C2
accent
#3EEAE6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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