#228739#228739

#228739 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.146 H 147.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#228739
RGBrgb(34, 135, 57)
HSLhsl(134, 60%, 33%)
HSVhsv(134, 75%, 53%)
CMYKcmyk(74.8%, 0%, 57.8%, 47.1%)
CIE-LABlab(49.45, -45.59, 33.47)
CIE-LCHlch(49.45, 56.56, 143.72°)
OKLaboklab(54.9% -0.1228 0.0798)
OKLCHoklch(54.9% 0.146 147)
XYZxyz(10.0614, 17.9623, 6.8069)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228739 #872270
analogous
#3E8722 #228739 #22876B
triadic
#228739 #392287 #873922
tetradic
#228739 #223E87 #872270 #876B22
square
#228739 #223E87 #872270 #876B22
split-complementary
#228739 #6B2287 #87223E
monochromatic
#092510 #165624 #228739 #2EB84E #50D36E

Accessibility & contrast

On white

4.57
#228739 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#228739 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228739
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228739#FFFFFF#000000##000000
##2287391.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B32
Deuteranopia (green-blind)
#7D723F
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228739;
/* rgb */ color: rgb(34, 135, 57);
/* oklch */ color: oklch(54.9% 0.146 147.0);
Tailwind
colors: {
  custom: {
    50: '#6dab72',
    500: '#228739',
    950: '#000000',
  },
}
SCSS
$custom: #228739;
$custom-light: #6dab72;
$custom-dark: #000000;
JSON
{
  "hex": "#228739",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 57
  },
  "hsl": {
    "h": 133.663,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.14642,
    "h": 147
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#228739
secondary
#B74E9F
accent
#45BFE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228739

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

Preview Lab → · Contrast checker → · Palette generator →

#228739 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva