#228E1D#228E1D

#228E1D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.175 H 142.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228E1D
RGBrgb(34, 142, 29)
HSLhsl(117, 66%, 34%)
HSVhsv(117, 80%, 56%)
CMYKcmyk(76.1%, 0%, 79.6%, 44.3%)
CIE-LABlab(51.58, -50.97, 47.77)
CIE-LCHlch(51.58, 69.86, 136.86°)
OKLaboklab(56.59% -0.1386 0.1069)
OKLCHoklch(56.59% 0.175 142.4)
XYZxyz(10.5538, 19.7736, 4.4226)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E1D #891D8E
analogous
#5A8E1D #228E1D #1D8E50
triadic
#228E1D #1D228E #8E1D22
tetradic
#228E1D #1D5A8E #891D8E #8E501D
square
#228E1D #1D5A8E #891D8E #8E501D
split-complementary
#228E1D #501D8E #8E1D5A
monochromatic
#0A2808 #165B13 #228E1D #2EC127 #51DA4B

Accessibility & contrast

On white

4.24
#228E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#228E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E1D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E1D#FFFFFF#000000##000000
##228E1D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e1d;
/* rgb */ color: rgb(34, 142, 29);
/* oklch */ color: oklch(56.6% 0.175 142.4);
Tailwind
colors: {
  custom: {
    50: '#70b062',
    500: '#228e1d',
    950: '#000000',
  },
}
SCSS
$custom: #228e1d;
$custom-light: #70b062;
$custom-dark: #000000;
JSON
{
  "hex": "#228e1d",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 117.345,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.17501,
    "h": 142.4
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#228E1D
secondary
#B84ABD
accent
#3FE9E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228E1D

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

Preview Lab → · Contrast checker → · Palette generator →

#228E1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva