Forestgreen (CSS)#228B22

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

Forestgreen (CSS) — editorial page

Color values

HEX#228B22
RGBrgb(34, 139, 34)
HSLhsl(120, 61%, 34%)
HSVhsv(120, 76%, 55%)
CMYKcmyk(75.5%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.59, -49.59, 45.02)
CIE-LCHlch(50.59, 66.97, 137.77°)
OKLaboklab(55.78% -0.1346 0.1018)
OKLCHoklch(55.78% 0.169 142.9)
XYZxyz(10.1804, 18.9197, 4.6284)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B22 #8B228B
analogous
#578B22 #228B22 #228B57
triadic
#228B22 #22228B #8B2222
tetradic
#228B22 #22578B #8B228B #8B5722
square
#228B22 #22578B #8B228B #8B5722
split-complementary
#228B22 #57228B #8B2257
monochromatic
#0A290A #165A16 #228B22 #2EBC2E #53D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228B22#FFFFFF#000000##000000
##228B221.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)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b22;
/* rgb */ color: rgb(34, 139, 34);
/* oklch */ color: oklch(55.8% 0.169 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fae64',
    500: '#228b22',
    950: '#000000',
  },
}
SCSS
$custom: #228b22;
$custom-light: #6fae64;
$custom-dark: #000000;
JSON
{
  "hex": "#228b22",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.16879,
    "h": 142.9
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#228B22
secondary
#B850B8
accent
#44E4E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228B22

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

Preview Lab → · Contrast checker → · Palette generator →

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