#228B20#228B20

#228B20 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.170 H 142.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228B20
RGBrgb(34, 139, 32)
HSLhsl(119, 63%, 34%)
HSVhsv(119, 77%, 55%)
CMYKcmyk(75.5%, 0%, 77%, 45.5%)
CIE-LABlab(50.58, -49.75, 45.74)
CIE-LCHlch(50.58, 67.58, 137.40°)
OKLaboklab(55.77% -0.1351 0.1031)
OKLCHoklch(55.77% 0.17 142.7)
XYZxyz(10.1524, 18.9084, 4.4809)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B20 #89208B
analogous
#578B20 #228B20 #208B53
triadic
#228B20 #20228B #8B2022
tetradic
#228B20 #20578B #89208B #8B5320
square
#228B20 #20578B #89208B #8B5320
split-complementary
#228B20 #53208B #8B2057
monochromatic
#0A2809 #165915 #228B20 #2EBD2B #51D64F

Accessibility & contrast

On white

4.39
#228B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#228B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B20
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B20#FFFFFF#000000##000000
##228B201.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b20;
/* rgb */ color: rgb(34, 139, 32);
/* oklch */ color: oklch(55.8% 0.170 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fae63',
    500: '#228b20',
    950: '#000000',
  },
}
SCSS
$custom: #228b20;
$custom-light: #6fae63;
$custom-dark: #000000;
JSON
{
  "hex": "#228b20",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 118.879,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.16996,
    "h": 142.7
  },
  "luminance": 0.1891
}

Semantic roles & 50–950 ramp

primary
#228B20
secondary
#B84DBA
accent
#42E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228B20

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

Preview Lab → · Contrast checker → · Palette generator →

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