#228A39#228A39

#228A39 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.150 H 146.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#228A39
RGBrgb(34, 138, 57)
HSLhsl(133, 60%, 34%)
HSVhsv(133, 75%, 54%)
CMYKcmyk(75.4%, 0%, 58.7%, 45.9%)
CIE-LABlab(50.47, -46.68, 34.67)
CIE-LCHlch(50.47, 58.15, 143.40°)
OKLaboklab(55.74% -0.1257 0.0824)
OKLCHoklch(55.74% 0.15 146.8)
XYZxyz(10.4859, 18.8112, 6.9484)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A39 #8A2273
analogous
#3F8A22 #228A39 #228A6D
triadic
#228A39 #39228A #8A3922
tetradic
#228A39 #223F8A #8A2273 #8A6D22
square
#228A39 #223F8A #8A2273 #8A6D22
split-complementary
#228A39 #6D228A #8A223F
monochromatic
#0A2810 #165925 #228A39 #2EBB4D #52D46F

Accessibility & contrast

On white

4.41
#228A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#228A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A39
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A39#FFFFFF#000000##000000
##228A391.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D31
Deuteranopia (green-blind)
#80753F
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a39;
/* rgb */ color: rgb(34, 138, 57);
/* oklch */ color: oklch(55.7% 0.150 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ead72',
    500: '#228a39',
    950: '#000000',
  },
}
SCSS
$custom: #228a39;
$custom-light: #6ead72;
$custom-dark: #000000;
JSON
{
  "hex": "#228a39",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 133.269,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.15034,
    "h": 146.8
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#228A39
secondary
#B850A1
accent
#44C0E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A39

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

Preview Lab → · Contrast checker → · Palette generator →

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