#228B38#228B38

#228B38 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.152 H 146.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#228B38
RGBrgb(34, 139, 56)
HSLhsl(133, 61%, 34%)
HSVhsv(133, 76%, 55%)
CMYKcmyk(75.5%, 0%, 59.7%, 45.5%)
CIE-LABlab(50.79, -47.18, 35.55)
CIE-LCHlch(50.79, 59.08, 143.00°)
OKLaboklab(56.01% -0.1271 0.0842)
OKLCHoklch(56.01% 0.153 146.5)
XYZxyz(10.6053, 19.0896, 6.8664)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B38 #8B2275
analogous
#418B22 #228B38 #228B6D
triadic
#228B38 #38228B #8B3822
tetradic
#228B38 #22418B #8B2275 #8B6D22
square
#228B38 #22418B #8B2275 #8B6D22
split-complementary
#228B38 #6D228B #8B2241
monochromatic
#0A2910 #165A24 #228B38 #2EBC4C #53D56E

Accessibility & contrast

On white

4.36
#228B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#228B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B38
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B38#FFFFFF#000000##000000
##228B381.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E30
Deuteranopia (green-blind)
#81763F
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b38;
/* rgb */ color: rgb(34, 139, 56);
/* oklch */ color: oklch(56.0% 0.152 146.5);
Tailwind
colors: {
  custom: {
    50: '#6eae71',
    500: '#228b38',
    950: '#000000',
  },
}
SCSS
$custom: #228b38;
$custom-light: #6eae71;
$custom-dark: #000000;
JSON
{
  "hex": "#228b38",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 56
  },
  "hsl": {
    "h": 132.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.1525,
    "h": 146.5
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#228B38
secondary
#B850A3
accent
#44C2E4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228B38

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

Preview Lab → · Contrast checker → · Palette generator →

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