#228B1D#228B1D

#228B1D is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.172 H 142.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228B1D
RGBrgb(34, 139, 29)
HSLhsl(117, 65%, 33%)
HSVhsv(117, 79%, 55%)
CMYKcmyk(75.5%, 0%, 79.1%, 45.5%)
CIE-LABlab(50.56, -49.97, 46.78)
CIE-LCHlch(50.56, 68.45, 136.89°)
OKLaboklab(55.74% -0.1359 0.1048)
OKLCHoklch(55.74% 0.172 142.4)
XYZxyz(10.1135, 18.8929, 4.2759)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B1D #861D8B
analogous
#598B1D #228B1D #1D8B4F
triadic
#228B1D #1D228B #8B1D22
tetradic
#228B1D #1D598B #861D8B #8B4F1D
square
#228B1D #1D598B #861D8B #8B4F1D
split-complementary
#228B1D #4F1D8B #8B1D59
monochromatic
#092608 #165812 #228B1D #2EBE28 #50D949

Accessibility & contrast

On white

4.39
#228B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#228B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B1D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B1D#FFFFFF#000000##000000
##228B1D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D01
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b1d;
/* rgb */ color: rgb(34, 139, 29);
/* oklch */ color: oklch(55.7% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#70ae62',
    500: '#228b1d',
    950: '#000000',
  },
}
SCSS
$custom: #228b1d;
$custom-light: #70ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#228b1d",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 117.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.17161,
    "h": 142.4
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#228B1D
secondary
#B649BB
accent
#3FE8E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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