#228B3F#228B3F

#228B3F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.146 H 148.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228B3F
RGBrgb(34, 139, 63)
HSLhsl(137, 61%, 34%)
HSVhsv(137, 76%, 55%)
CMYKcmyk(75.5%, 0%, 54.7%, 45.5%)
CIE-LABlab(50.88, -46.17, 32.13)
CIE-LCHlch(50.88, 56.25, 145.17°)
OKLaboklab(56.11% -0.1242 0.0772)
OKLCHoklch(56.11% 0.146 148.1)
XYZxyz(10.7887, 19.1630, 7.8319)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B3F #8B226E
analogous
#3A8B22 #228B3F #228B74
triadic
#228B3F #3F228B #8B3F22
tetradic
#228B3F #223A8B #8B226E #8B7422
square
#228B3F #223A8B #8B226E #8B7422
split-complementary
#228B3F #74228B #8B223A
monochromatic
#0A2912 #165A29 #228B3F #2EBC55 #53D577

Accessibility & contrast

On white

4.35
#228B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#228B3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B3F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B3F#FFFFFF#000000##000000
##228B3F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E38
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b3f;
/* rgb */ color: rgb(34, 139, 63);
/* oklch */ color: oklch(56.1% 0.146 148.1);
Tailwind
colors: {
  custom: {
    50: '#6eae76',
    500: '#228b3f',
    950: '#000000',
  },
}
SCSS
$custom: #228b3f;
$custom-light: #6eae76;
$custom-dark: #000000;
JSON
{
  "hex": "#228b3f",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 136.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.14627,
    "h": 148.1
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#228B3F
secondary
#B8509C
accent
#44B8E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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