#227839#227839

#227839 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.126 H 148.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#227839
RGBrgb(34, 120, 57)
HSLhsl(136, 56%, 30%)
HSVhsv(136, 72%, 47%)
CMYKcmyk(71.7%, 0%, 52.5%, 52.9%)
CIE-LABlab(44.33, -39.88, 27.25)
CIE-LCHlch(44.33, 48.30, 145.66°)
OKLaboklab(50.67% -0.1074 0.066)
OKLCHoklch(50.67% 0.126 148.4)
XYZxyz(8.1141, 14.0675, 6.1578)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227839 #782261
analogous
#367822 #227839 #227864
triadic
#227839 #392278 #783922
tetradic
#227839 #223678 #782261 #786422
square
#227839 #223678 #782261 #786422
split-complementary
#227839 #642278 #782236
monochromatic
#07190C #144822 #227839 #30A850 #49CB6C

Accessibility & contrast

On white

5.51
#227839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#227839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227839
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227839#FFFFFF#000000##FFFFFF
##2278391.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227839;
/* rgb */ color: rgb(34, 120, 57);
/* oklch */ color: oklch(50.7% 0.126 148.4);
Tailwind
colors: {
  custom: {
    50: '#6aa071',
    500: '#227839',
    950: '#000000',
  },
}
SCSS
$custom: #227839;
$custom-light: #6aa071;
$custom-dark: #000000;
JSON
{
  "hex": "#227839",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 57
  },
  "hsl": {
    "h": 136.047,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.12609,
    "h": 148.4
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#227839
secondary
#AB4B91
accent
#49B7DF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227839

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

Preview Lab → · Contrast checker → · Palette generator →

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