#227F39#227F39

#227F39 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.136 H 147.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#227F39
RGBrgb(34, 127, 57)
HSLhsl(135, 58%, 32%)
HSVhsv(135, 73%, 50%)
CMYKcmyk(73.2%, 0%, 55.1%, 50.2%)
CIE-LABlab(46.73, -42.60, 30.19)
CIE-LCHlch(46.73, 52.21, 144.67°)
OKLaboklab(52.65% -0.1147 0.0726)
OKLCHoklch(52.65% 0.136 147.7)
XYZxyz(8.9869, 15.8132, 6.4487)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F39 #7F2268
analogous
#3A7F22 #227F39 #227F68
triadic
#227F39 #39227F #7F3922
tetradic
#227F39 #223A7F #7F2268 #7F6822
square
#227F39 #223A7F #7F2268 #7F6822
split-complementary
#227F39 #68227F #7F223A
monochromatic
#081E0E #154F23 #227F39 #2FAF4F #4CCF6D

Accessibility & contrast

On white

5.04
#227F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F39
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F39#FFFFFF#000000##FFFFFF
##227F391.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f39;
/* rgb */ color: rgb(34, 127, 57);
/* oklch */ color: oklch(52.6% 0.136 147.7);
Tailwind
colors: {
  custom: {
    50: '#6ba571',
    500: '#227f39',
    950: '#000000',
  },
}
SCSS
$custom: #227f39;
$custom-light: #6ba571;
$custom-dark: #000000;
JSON
{
  "hex": "#227f39",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 134.839,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.13574,
    "h": 147.7
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#227F39
secondary
#B24B98
accent
#47BBE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #227F39

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

Preview Lab → · Contrast checker → · Palette generator →

#227F39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva