#228D1E#228D1E

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

Color values

HEX#228D1E
RGBrgb(34, 141, 30)
HSLhsl(118, 65%, 34%)
HSVhsv(118, 79%, 55%)
CMYKcmyk(75.9%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.25, -50.57, 47.11)
CIE-LCHlch(51.25, 69.11, 137.03°)
OKLaboklab(56.32% -0.1375 0.1056)
OKLCHoklch(56.32% 0.173 142.5)
XYZxyz(10.4183, 19.4824, 4.4395)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D1E #891E8D
analogous
#598D1E #228D1E #1E8D51
triadic
#228D1E #1E228D #8D1E22
tetradic
#228D1E #1E598D #891E8D #8D511E
square
#228D1E #1E598D #891E8D #8D511E
split-complementary
#228D1E #511E8D #8D1E59
monochromatic
#0A2809 #165B13 #228D1E #2EBF29 #51D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228D1E#FFFFFF#000000##000000
##228D1E1.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)
#907F03
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d1e;
/* rgb */ color: rgb(34, 141, 30);
/* oklch */ color: oklch(56.3% 0.173 142.5);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#228d1e',
    950: '#000000',
  },
}
SCSS
$custom: #228d1e;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#228d1e",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 117.838,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.17336,
    "h": 142.5
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#228D1E
secondary
#B84BBC
accent
#40E8E2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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