#227936#227936

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

Color values

HEX#227936
RGBrgb(34, 121, 54)
HSLhsl(134, 56%, 30%)
HSVhsv(134, 72%, 47%)
CMYKcmyk(71.9%, 0%, 55.4%, 52.5%)
CIE-LABlab(44.63, -40.75, 29.22)
CIE-LCHlch(44.63, 50.14, 144.36°)
OKLaboklab(50.9% -0.1098 0.0702)
OKLCHoklch(50.9% 0.13 147.4)
XYZxyz(8.1623, 14.2803, 5.8155)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227936 #792265
analogous
#397922 #227936 #227961
triadic
#227936 #362279 #793622
tetradic
#227936 #223979 #792265 #796122
square
#227936 #223979 #792265 #796122
split-complementary
#227936 #612279 #792239
monochromatic
#07190B #154921 #227936 #2FA94B #49CC67

Accessibility & contrast

On white

5.45
#227936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227936
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227936#FFFFFF#000000##FFFFFF
##2279361.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E30
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227936;
/* rgb */ color: rgb(34, 121, 54);
/* oklch */ color: oklch(50.9% 0.130 147.4);
Tailwind
colors: {
  custom: {
    50: '#6aa16f',
    500: '#227936',
    950: '#000000',
  },
}
SCSS
$custom: #227936;
$custom-light: #6aa16f;
$custom-dark: #000000;
JSON
{
  "hex": "#227936",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 133.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.13034,
    "h": 147.4
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#227936
secondary
#AC4B96
accent
#48BDDF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227936

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

Preview Lab → · Contrast checker → · Palette generator →

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