#228B4F#228B4F

#228B4F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.131 H 153.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228B4F
RGBrgb(34, 139, 79)
HSLhsl(146, 61%, 34%)
HSVhsv(146, 76%, 55%)
CMYKcmyk(75.5%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.12, -43.41, 23.89)
CIE-LCHlch(51.12, 49.55, 151.18°)
OKLaboklab(56.38% -0.1169 0.0592)
OKLCHoklch(56.38% 0.131 153.2)
XYZxyz(11.3026, 19.3685, 10.5384)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B4F #8B225E
analogous
#2A8B22 #228B4F #228B84
triadic
#228B4F #4F228B #8B4F22
tetradic
#228B4F #222A8B #8B225E #8B8422
square
#228B4F #222A8B #8B225E #8B8422
split-complementary
#228B4F #84228B #8B222A
monochromatic
#0A2917 #165A33 #228B4F #2EBC6B #53D58A

Accessibility & contrast

On white

4.31
#228B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#228B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B4F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B4F#FFFFFF#000000##000000
##228B4F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#7E7653
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228b4f;
/* rgb */ color: rgb(34, 139, 79);
/* oklch */ color: oklch(56.4% 0.131 153.2);
Tailwind
colors: {
  custom: {
    50: '#6eae81',
    500: '#228b4f',
    950: '#000000',
  },
}
SCSS
$custom: #228b4f;
$custom-light: #6eae81;
$custom-dark: #000000;
JSON
{
  "hex": "#228b4f",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 145.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.13105,
    "h": 153.2
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#228B4F
secondary
#B8508C
accent
#449FE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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