#228A1E#228A1E

#228A1E is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.170 H 142.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228A1E
RGBrgb(34, 138, 30)
HSLhsl(118, 64%, 33%)
HSVhsv(118, 78%, 54%)
CMYKcmyk(75.4%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.23, -49.56, 46.11)
CIE-LCHlch(50.23, 67.69, 137.07°)
OKLaboklab(55.47% -0.1347 0.1036)
OKLCHoklch(55.47% 0.17 142.5)
XYZxyz(9.9819, 18.6096, 4.2940)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A1E #861E8A
analogous
#588A1E #228A1E #1E8A50
triadic
#228A1E #1E228A #8A1E22
tetradic
#228A1E #1E588A #861E8A #8A501E
square
#228A1E #1E588A #861E8A #8A501E
split-complementary
#228A1E #501E8A #8A1E58
monochromatic
#092508 #165813 #228A1E #2EBC29 #50D84B

Accessibility & contrast

On white

4.45
#228A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#228A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A1E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A1E#FFFFFF#000000##000000
##228A1E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#82742A
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228a1e;
/* rgb */ color: rgb(34, 138, 30);
/* oklch */ color: oklch(55.5% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fad62',
    500: '#228a1e',
    950: '#000000',
  },
}
SCSS
$custom: #228a1e;
$custom-light: #6fad62;
$custom-dark: #000000;
JSON
{
  "hex": "#228a1e",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 117.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55468,
    "c": 0.16993,
    "h": 142.5
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#228A1E
secondary
#B64ABA
accent
#41E7E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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