#228B2A#228B2A

#228B2A is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.164 H 143.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228B2A
RGBrgb(34, 139, 42)
HSLhsl(125, 61%, 34%)
HSVhsv(125, 76%, 55%)
CMYKcmyk(75.5%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.65, -48.85, 41.86)
CIE-LCHlch(50.65, 64.33, 139.41°)
OKLaboklab(55.85% -0.1322 0.0963)
OKLCHoklch(55.85% 0.164 143.9)
XYZxyz(10.3096, 18.9713, 5.3085)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B2A #8B2283
analogous
#4F8B22 #228B2A #228B5F
triadic
#228B2A #2A228B #8B2A22
tetradic
#228B2A #224F8B #8B2283 #8B5F22
square
#228B2A #224F8B #8B2283 #8B5F22
split-complementary
#228B2A #5F228B #8B224F
monochromatic
#0A290C #165A1B #228B2A #2EBC39 #53D55C

Accessibility & contrast

On white

4.38
#228B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#228B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B2A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B2A#FFFFFF#000000##000000
##228B2A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b2a;
/* rgb */ color: rgb(34, 139, 42);
/* oklch */ color: oklch(55.9% 0.164 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fae69',
    500: '#228b2a',
    950: '#000000',
  },
}
SCSS
$custom: #228b2a;
$custom-light: #6fae69;
$custom-dark: #000000;
JSON
{
  "hex": "#228b2a",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 124.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.16353,
    "h": 143.9
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#228B2A
secondary
#B850B1
accent
#44D8E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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