#228B2B#228B2B

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

Color values

HEX#228B2B
RGBrgb(34, 139, 43)
HSLhsl(125, 61%, 34%)
HSVhsv(125, 76%, 55%)
CMYKcmyk(75.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.66, -48.74, 41.44)
CIE-LCHlch(50.66, 63.98, 139.63°)
OKLaboklab(55.86% -0.1319 0.0955)
OKLCHoklch(55.86% 0.163 144.1)
XYZxyz(10.3277, 18.9786, 5.4040)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B2B #8B2282
analogous
#4E8B22 #228B2B #228B60
triadic
#228B2B #2B228B #8B2B22
tetradic
#228B2B #224E8B #8B2282 #8B6022
square
#228B2B #224E8B #8B2282 #8B6022
split-complementary
#228B2B #60228B #8B224E
monochromatic
#0A290D #165A1C #228B2B #2EBC3A #53D55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B2B#FFFFFF#000000##000000
##228B2B1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228b2b;
/* rgb */ color: rgb(34, 139, 43);
/* oklch */ color: oklch(55.9% 0.163 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fae69',
    500: '#228b2b',
    950: '#000000',
  },
}
SCSS
$custom: #228b2b;
$custom-light: #6fae69;
$custom-dark: #000000;
JSON
{
  "hex": "#228b2b",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 125.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5586,
    "c": 0.16282,
    "h": 144.1
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#228B2B
secondary
#B850B0
accent
#44D6E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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