#229F1F#229F1F

#229F1F is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.193 H 142.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#229F1F
RGBrgb(34, 159, 31)
HSLhsl(119, 67%, 37%)
HSVhsv(119, 81%, 62%)
CMYKcmyk(78.6%, 0%, 80.5%, 37.6%)
CIE-LABlab(57.30, -56.35, 52.61)
CIE-LCHlch(57.30, 77.09, 136.97°)
OKLaboklab(61.35% -0.1531 0.1172)
OKLCHoklch(61.35% 0.193 142.6)
XYZxyz(13.3043, 25.2337, 5.4655)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F1F #9C1F9F
analogous
#629F1F #229F1F #1F9F5C
triadic
#229F1F #1F229F #9F1F22
tetradic
#229F1F #1F629F #9C1F9F #9F5C1F
square
#229F1F #1F629F #9C1F9F #9F5C1F
split-complementary
#229F1F #5C1F9F #9F1F62
monochromatic
#0C390B #176C15 #229F1F #2DD229 #5DDF5A

Accessibility & contrast

On white

3.47
#229F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#229F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F1F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F1F#FFFFFF#000000##000000
##229F1F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#009A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f1f;
/* rgb */ color: rgb(34, 159, 31);
/* oklch */ color: oklch(61.4% 0.193 142.6);
Tailwind
colors: {
  custom: {
    50: '#74bd66',
    500: '#229f1f',
    950: '#000000',
  },
}
SCSS
$custom: #229f1f;
$custom-light: #74bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#229f1f",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 118.594,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.19282,
    "h": 142.6
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

primary
#229F1F
secondary
#C057C3
accent
#3EEAE6
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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