#228D1D#228D1D

#228D1D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.174 H 142.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228D1D
RGBrgb(34, 141, 29)
HSLhsl(117, 66%, 33%)
HSVhsv(117, 79%, 55%)
CMYKcmyk(75.9%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.24, -50.64, 47.44)
CIE-LCHlch(51.24, 69.39, 136.87°)
OKLaboklab(56.31% -0.1377 0.1062)
OKLCHoklch(56.31% 0.174 142.4)
XYZxyz(10.4057, 19.4774, 4.3733)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D1D #881D8D
analogous
#5A8D1D #228D1D #1D8D50
triadic
#228D1D #1D228D #8D1D22
tetradic
#228D1D #1D5A8D #881D8D #8D501D
square
#228D1D #1D5A8D #881D8D #8D501D
split-complementary
#228D1D #501D8D #8D1D5A
monochromatic
#0A2708 #165A13 #228D1D #2EC027 #51DA4B

Accessibility & contrast

On white

4.29
#228D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#228D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D1D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D1D#FFFFFF#000000##000000
##228D1D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d1d;
/* rgb */ color: rgb(34, 141, 29);
/* oklch */ color: oklch(56.3% 0.174 142.4);
Tailwind
colors: {
  custom: {
    50: '#70af62',
    500: '#228d1d',
    950: '#000000',
  },
}
SCSS
$custom: #228d1d;
$custom-light: #70af62;
$custom-dark: #000000;
JSON
{
  "hex": "#228d1d",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 117.321,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.17388,
    "h": 142.4
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#228D1D
secondary
#B74ABC
accent
#3FE9E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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