#228B54#228B54

#228B54 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.126 H 155.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228B54
RGBrgb(34, 139, 84)
HSLhsl(149, 61%, 34%)
HSVhsv(149, 76%, 55%)
CMYKcmyk(75.5%, 0%, 39.6%, 45.5%)
CIE-LABlab(51.20, -42.43, 21.24)
CIE-LCHlch(51.20, 47.45, 153.41°)
OKLaboklab(56.48% -0.1145 0.053)
OKLCHoklch(56.48% 0.126 155.1)
XYZxyz(11.4915, 19.4441, 11.5332)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B54 #8B2259
analogous
#258B22 #228B54 #228B89
triadic
#228B54 #54228B #8B5422
tetradic
#228B54 #22258B #8B2259 #8B8922
square
#228B54 #22258B #8B2259 #8B8922
split-complementary
#228B54 #89228B #8B2225
monochromatic
#0A2919 #165A36 #228B54 #2EBC72 #53D591

Accessibility & contrast

On white

4.30
#228B54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#228B54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B54
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B54#FFFFFF#000000##000000
##228B541.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7658
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b54;
/* rgb */ color: rgb(34, 139, 84);
/* oklch */ color: oklch(56.5% 0.126 155.1);
Tailwind
colors: {
  custom: {
    50: '#6eae84',
    500: '#228b54',
    950: '#000000',
  },
}
SCSS
$custom: #228b54;
$custom-light: #6eae84;
$custom-dark: #000000;
JSON
{
  "hex": "#228b54",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 84
  },
  "hsl": {
    "h": 148.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.12621,
    "h": 155.1
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#228B54
secondary
#B85087
accent
#4498E4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228B54

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

Preview Lab → · Contrast checker → · Palette generator →

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