#228741#228741

#228741 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.139 H 149.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228741
RGBrgb(34, 135, 65)
HSLhsl(138, 60%, 33%)
HSVhsv(138, 75%, 53%)
CMYKcmyk(74.8%, 0%, 51.9%, 47.1%)
CIE-LABlab(49.55, -44.36, 29.46)
CIE-LCHlch(49.55, 53.25, 146.41°)
OKLaboklab(55.02% -0.1193 0.0714)
OKLCHoklch(55.02% 0.139 149.1)
XYZxyz(10.2770, 18.0485, 7.9421)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228741 #872268
analogous
#358722 #228741 #228773
triadic
#228741 #412287 #874122
tetradic
#228741 #223587 #872268 #877322
square
#228741 #223587 #872268 #877322
split-complementary
#228741 #732287 #872235
monochromatic
#092512 #165629 #228741 #2EB859 #50D378

Accessibility & contrast

On white

4.56
#228741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#228741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228741
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228741#FFFFFF#000000##000000
##2287411.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#7C7346
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228741;
/* rgb */ color: rgb(34, 135, 65);
/* oklch */ color: oklch(55.0% 0.139 149.1);
Tailwind
colors: {
  custom: {
    50: '#6dab77',
    500: '#228741',
    950: '#000000',
  },
}
SCSS
$custom: #228741;
$custom-light: #6dab77;
$custom-dark: #000000;
JSON
{
  "hex": "#228741",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 138.416,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.13906,
    "h": 149.1
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#228741
secondary
#B74E97
accent
#45B2E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228741

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

Preview Lab → · Contrast checker → · Palette generator →

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