#228B46#228B46

#228B46 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.140 H 150.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228B46
RGBrgb(34, 139, 70)
HSLhsl(141, 61%, 34%)
HSVhsv(141, 76%, 55%)
CMYKcmyk(75.5%, 0%, 49.6%, 45.5%)
CIE-LABlab(50.97, -45.04, 28.58)
CIE-LCHlch(50.97, 53.35, 147.60°)
OKLaboklab(56.22% -0.1211 0.0697)
OKLCHoklch(56.22% 0.14 150.1)
XYZxyz(10.9969, 19.2462, 8.9285)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B46 #8B2267
analogous
#338B22 #228B46 #228B7B
triadic
#228B46 #46228B #8B4622
tetradic
#228B46 #22338B #8B2267 #8B7B22
square
#228B46 #22338B #8B2267 #8B7B22
split-complementary
#228B46 #7B228B #8B2233
monochromatic
#0A2914 #165A2D #228B46 #2EBC5F #53D57F

Accessibility & contrast

On white

4.33
#228B46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#228B46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B46
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B46#FFFFFF#000000##000000
##228B461.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F40
Deuteranopia (green-blind)
#80764B
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b46;
/* rgb */ color: rgb(34, 139, 70);
/* oklch */ color: oklch(56.2% 0.140 150.1);
Tailwind
colors: {
  custom: {
    50: '#6eae7b',
    500: '#228b46',
    950: '#000000',
  },
}
SCSS
$custom: #228b46;
$custom-light: #6eae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228b46",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 70
  },
  "hsl": {
    "h": 140.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.13973,
    "h": 150.1
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#228B46
secondary
#B85095
accent
#44ADE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228B46

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

Preview Lab → · Contrast checker → · Palette generator →

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