#228C1D#228C1D

#228C1D is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.173 H 142.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228C1D
RGBrgb(34, 140, 29)
HSLhsl(117, 66%, 33%)
HSVhsv(117, 79%, 55%)
CMYKcmyk(75.7%, 0%, 79.3%, 45.1%)
CIE-LABlab(50.90, -50.31, 47.11)
CIE-LCHlch(50.90, 68.92, 136.88°)
OKLaboklab(56.03% -0.1368 0.1055)
OKLCHoklch(56.03% 0.173 142.4)
XYZxyz(10.2589, 19.1838, 4.3243)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C1D #871D8C
analogous
#598C1D #228C1D #1D8C4F
triadic
#228C1D #1D228C #8C1D22
tetradic
#228C1D #1D598C #871D8C #8C4F1D
square
#228C1D #1D598C #871D8C #8C4F1D
split-complementary
#228C1D #4F1D8C #8C1D59
monochromatic
#092708 #165912 #228C1D #2EBF28 #50D94A

Accessibility & contrast

On white

4.34
#228C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#228C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C1D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C1D#FFFFFF#000000##000000
##228C1D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c1d;
/* rgb */ color: rgb(34, 140, 29);
/* oklch */ color: oklch(56.0% 0.173 142.4);
Tailwind
colors: {
  custom: {
    50: '#70af62',
    500: '#228c1d',
    950: '#000000',
  },
}
SCSS
$custom: #228c1d;
$custom-light: #70af62;
$custom-dark: #000000;
JSON
{
  "hex": "#228c1d",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 117.297,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.17275,
    "h": 142.4
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#228C1D
secondary
#B749BC
accent
#3FE9E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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