#227939#227939

#227939 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.127 H 148.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#227939
RGBrgb(34, 121, 57)
HSLhsl(136, 56%, 30%)
HSVhsv(136, 72%, 47%)
CMYKcmyk(71.9%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.67, -40.28, 27.67)
CIE-LCHlch(44.67, 48.87, 145.51°)
OKLaboklab(50.95% -0.1085 0.0669)
OKLCHoklch(50.95% 0.127 148.3)
XYZxyz(8.2350, 14.3093, 6.1981)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227939 #792262
analogous
#367922 #227939 #227964
triadic
#227939 #392279 #793922
tetradic
#227939 #223679 #792262 #796422
square
#227939 #223679 #792262 #796422
split-complementary
#227939 #642279 #792236
monochromatic
#07190C #154922 #227939 #2FA950 #49CC6C

Accessibility & contrast

On white

5.44
#227939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#227939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227939
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227939#FFFFFF#000000##FFFFFF
##2279391.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227939;
/* rgb */ color: rgb(34, 121, 57);
/* oklch */ color: oklch(50.9% 0.127 148.3);
Tailwind
colors: {
  custom: {
    50: '#6aa171',
    500: '#227939',
    950: '#000000',
  },
}
SCSS
$custom: #227939;
$custom-light: #6aa171;
$custom-dark: #000000;
JSON
{
  "hex": "#227939",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 135.862,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.12748,
    "h": 148.3
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#227939
secondary
#AC4B92
accent
#48B7DF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227939

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

Preview Lab → · Contrast checker → · Palette generator →

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