#227937#227937

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

Color values

HEX#227937
RGBrgb(34, 121, 55)
HSLhsl(134, 56%, 30%)
HSVhsv(134, 72%, 47%)
CMYKcmyk(71.9%, 0%, 54.5%, 52.5%)
CIE-LABlab(44.65, -40.60, 28.71)
CIE-LCHlch(44.65, 49.72, 144.73°)
OKLaboklab(50.92% -0.1094 0.0691)
OKLCHoklch(50.92% 0.129 147.7)
XYZxyz(8.1860, 14.2898, 5.9405)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227937 #792264
analogous
#387922 #227937 #227962
triadic
#227937 #372279 #793722
tetradic
#227937 #223879 #792264 #796222
square
#227937 #223879 #792264 #796222
split-complementary
#227937 #622279 #792238
monochromatic
#07190C #154921 #227937 #2FA94D #49CC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227937#FFFFFF#000000##FFFFFF
##2279371.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)
#7A6E31
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227937;
/* rgb */ color: rgb(34, 121, 55);
/* oklch */ color: oklch(50.9% 0.129 147.7);
Tailwind
colors: {
  custom: {
    50: '#6aa16f',
    500: '#227937',
    950: '#000000',
  },
}
SCSS
$custom: #227937;
$custom-light: #6aa16f;
$custom-dark: #000000;
JSON
{
  "hex": "#227937",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 134.483,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.1294,
    "h": 147.7
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#227937
secondary
#AC4B94
accent
#48BBDF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227937

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

Preview Lab → · Contrast checker → · Palette generator →

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