#228939#228939

#228939 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.149 H 146.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#228939
RGBrgb(34, 137, 57)
HSLhsl(133, 60%, 34%)
HSVhsv(133, 75%, 54%)
CMYKcmyk(75.2%, 0%, 58.4%, 46.3%)
CIE-LABlab(50.13, -46.32, 34.27)
CIE-LCHlch(50.13, 57.62, 143.50°)
OKLaboklab(55.46% -0.1248 0.0815)
OKLCHoklch(55.46% 0.149 146.8)
XYZxyz(10.3431, 18.5256, 6.9008)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228939 #892272
analogous
#3E8922 #228939 #22896C
triadic
#228939 #392289 #893922
tetradic
#228939 #223E89 #892272 #896C22
square
#228939 #223E89 #892272 #896C22
split-complementary
#228939 #6C2289 #89223E
monochromatic
#0A2710 #165825 #228939 #2EBA4D #51D46F

Accessibility & contrast

On white

4.46
#228939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#228939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228939
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228939#FFFFFF#000000##000000
##2289391.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C31
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228939;
/* rgb */ color: rgb(34, 137, 57);
/* oklch */ color: oklch(55.5% 0.149 146.8);
Tailwind
colors: {
  custom: {
    50: '#6eac72',
    500: '#228939',
    950: '#000000',
  },
}
SCSS
$custom: #228939;
$custom-light: #6eac72;
$custom-dark: #000000;
JSON
{
  "hex": "#228939",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 57
  },
  "hsl": {
    "h": 133.398,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55463,
    "c": 0.14904,
    "h": 146.8
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#228939
secondary
#B84FA0
accent
#44C0E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228939

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

Preview Lab → · Contrast checker → · Palette generator →

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