#227538#227538

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

Color values

HEX#227538
RGBrgb(34, 117, 56)
HSLhsl(136, 55%, 30%)
HSVhsv(136, 71%, 46%)
CMYKcmyk(70.9%, 0%, 52.1%, 54.1%)
CIE-LABlab(43.28, -38.86, 26.49)
CIE-LCHlch(43.28, 47.03, 145.72°)
OKLaboklab(49.8% -0.1047 0.0642)
OKLCHoklch(49.8% 0.123 148.5)
XYZxyz(7.7342, 13.3474, 5.9093)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227538 #75225F
analogous
#357522 #227538 #227562
triadic
#227538 #382275 #753822
tetradic
#227538 #223575 #75225F #756222
square
#227538 #223575 #75225F #756222
split-complementary
#227538 #622275 #752235
monochromatic
#07180B #144621 #227538 #30A44F #48CA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227538#FFFFFF#000000##FFFFFF
##2275381.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)
#766B33
Deuteranopia (green-blind)
#6C633C
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227538;
/* rgb */ color: rgb(34, 117, 56);
/* oklch */ color: oklch(49.8% 0.123 148.5);
Tailwind
colors: {
  custom: {
    50: '#699e70',
    500: '#227538',
    950: '#000000',
  },
}
SCSS
$custom: #227538;
$custom-light: #699e70;
$custom-dark: #000000;
JSON
{
  "hex": "#227538",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 135.904,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.12284,
    "h": 148.5
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#227538
secondary
#A84B8F
accent
#49B7DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227538

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

Preview Lab → · Contrast checker → · Palette generator →

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