#229E1F#229E1F

#229E1F is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.192 H 142.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#229E1F
RGBrgb(34, 158, 31)
HSLhsl(119, 67%, 37%)
HSVhsv(119, 80%, 62%)
CMYKcmyk(78.5%, 0%, 80.4%, 38%)
CIE-LABlab(56.97, -56.03, 52.29)
CIE-LCHlch(56.97, 76.64, 136.98°)
OKLaboklab(61.08% -0.1522 0.1166)
OKLCHoklch(61.08% 0.192 142.6)
XYZxyz(13.1331, 24.8912, 5.4084)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E1F #9B1F9E
analogous
#619E1F #229E1F #1F9E5C
triadic
#229E1F #1F229E #9E1F22
tetradic
#229E1F #1F619E #9B1F9E #9E5C1F
square
#229E1F #1F619E #9B1F9E #9E5C1F
split-complementary
#229E1F #5C1F9E #9E1F61
monochromatic
#0C380B #176B15 #229E1F #2DD129 #5CDE59

Accessibility & contrast

On white

3.51
#229E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#229E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E1F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E1F#FFFFFF#000000##000000
##229E1F1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e1f;
/* rgb */ color: rgb(34, 158, 31);
/* oklch */ color: oklch(61.1% 0.192 142.6);
Tailwind
colors: {
  custom: {
    50: '#74bc66',
    500: '#229e1f',
    950: '#000000',
  },
}
SCSS
$custom: #229e1f;
$custom-light: #74bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#229e1f",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 118.583,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61075,
    "c": 0.19173,
    "h": 142.6
  },
  "luminance": 0.24893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #229E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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