#227728#227728

#227728 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.140 H 144.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#227728
RGBrgb(34, 119, 40)
HSLhsl(124, 56%, 30%)
HSVhsv(124, 71%, 47%)
CMYKcmyk(71.4%, 0%, 66.4%, 53.3%)
CIE-LABlab(43.78, -41.89, 35.24)
CIE-LCHlch(43.78, 54.75, 139.93°)
OKLaboklab(50.15% -0.1134 0.082)
OKLCHoklch(50.15% 0.14 144.1)
XYZxyz(7.6390, 13.6861, 4.2462)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227728 #772271
analogous
#477722 #227728 #227752
triadic
#227728 #282277 #772822
tetradic
#227728 #224777 #772271 #775222
square
#227728 #224777 #772271 #775222
split-complementary
#227728 #522277 #772247
monochromatic
#071808 #144718 #227728 #30A738 #49CB52

Accessibility & contrast

On white

5.62
#227728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#227728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227728
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227728#FFFFFF#000000##FFFFFF
##2277281.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1F
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#077466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227728;
/* rgb */ color: rgb(34, 119, 40);
/* oklch */ color: oklch(50.1% 0.140 144.1);
Tailwind
colors: {
  custom: {
    50: '#6a9f65',
    500: '#227728',
    950: '#000000',
  },
}
SCSS
$custom: #227728;
$custom-light: #6a9f65;
$custom-dark: #000000;
JSON
{
  "hex": "#227728",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 124.235,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.14,
    "h": 144.1
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#227728
secondary
#AA4BA3
accent
#49D4DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227728

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

Preview Lab → · Contrast checker → · Palette generator →

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