#227539#227539

#227539 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.122 H 148.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#227539
RGBrgb(34, 117, 57)
HSLhsl(137, 55%, 30%)
HSVhsv(137, 71%, 46%)
CMYKcmyk(70.9%, 0%, 51.3%, 54.1%)
CIE-LABlab(43.30, -38.69, 25.96)
CIE-LCHlch(43.30, 46.59, 146.14°)
OKLaboklab(49.81% -0.1043 0.0631)
OKLCHoklch(49.81% 0.122 148.8)
XYZxyz(7.7589, 13.3572, 6.0394)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227539 #75225E
analogous
#347522 #227539 #227563
triadic
#227539 #392275 #753922
tetradic
#227539 #223475 #75225E #756322
square
#227539 #223475 #75225E #756322
split-complementary
#227539 #632275 #752234
monochromatic
#07180C #144622 #227539 #30A450 #48CA6C

Accessibility & contrast

On white

5.72
#227539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#227539 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227539
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227539#FFFFFF#000000##FFFFFF
##2275391.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B34
Deuteranopia (green-blind)
#6C633D
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227539;
/* rgb */ color: rgb(34, 117, 57);
/* oklch */ color: oklch(49.8% 0.122 148.8);
Tailwind
colors: {
  custom: {
    50: '#699e70',
    500: '#227539',
    950: '#000000',
  },
}
SCSS
$custom: #227539;
$custom-light: #699e70;
$custom-dark: #000000;
JSON
{
  "hex": "#227539",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 57
  },
  "hsl": {
    "h": 136.627,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.12186,
    "h": 148.8
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#227539
secondary
#A84B8E
accent
#49B5DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227539

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

Preview Lab → · Contrast checker → · Palette generator →

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