#228B2F#228B2F

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

Color values

HEX#228B2F
RGBrgb(34, 139, 47)
HSLhsl(127, 61%, 34%)
HSVhsv(127, 76%, 55%)
CMYKcmyk(75.5%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.70, -48.31, 39.70)
CIE-LCHlch(50.70, 62.53, 140.58°)
OKLaboklab(55.9% -0.1305 0.0923)
OKLCHoklch(55.9% 0.16 144.7)
XYZxyz(10.4047, 19.0094, 5.8096)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B2F #8B227E
analogous
#4A8B22 #228B2F #228B64
triadic
#228B2F #2F228B #8B2F22
tetradic
#228B2F #224A8B #8B227E #8B6422
square
#228B2F #224A8B #8B227E #8B6422
split-complementary
#228B2F #64228B #8B224A
monochromatic
#0A290E #165A1E #228B2F #2EBC40 #53D563

Accessibility & contrast

On white

4.37
#228B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#228B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B2F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B2F#FFFFFF#000000##000000
##228B2F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E24
Deuteranopia (green-blind)
#827537
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b2f;
/* rgb */ color: rgb(34, 139, 47);
/* oklch */ color: oklch(55.9% 0.160 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fae6c',
    500: '#228b2f',
    950: '#000000',
  },
}
SCSS
$custom: #228b2f;
$custom-light: #6fae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228b2f",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 127.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.15984,
    "h": 144.7
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#228B2F
secondary
#B850AC
accent
#44D0E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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