#227827#227827

#227827 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.142 H 143.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#227827
RGBrgb(34, 120, 39)
HSLhsl(123, 56%, 30%)
HSVhsv(123, 72%, 47%)
CMYKcmyk(71.7%, 0%, 67.5%, 52.9%)
CIE-LABlab(44.12, -42.38, 36.09)
CIE-LCHlch(44.12, 55.66, 139.59°)
OKLaboklab(50.42% -0.1148 0.0837)
OKLCHoklch(50.42% 0.142 143.9)
XYZxyz(7.7419, 13.9187, 4.1976)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227827 #782273
analogous
#487822 #227827 #227852
triadic
#227827 #272278 #782722
tetradic
#227827 #224878 #782273 #785222
square
#227827 #224878 #782273 #785222
split-complementary
#227827 #522278 #782248
monochromatic
#071908 #144818 #227827 #30A836 #49CB51

Accessibility & contrast

On white

5.55
#227827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#227827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227827
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227827#FFFFFF#000000##FFFFFF
##2278271.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D1D
Deuteranopia (green-blind)
#70662E
Tritanopia (blue-blind)
#077567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227827;
/* rgb */ color: rgb(34, 120, 39);
/* oklch */ color: oklch(50.4% 0.142 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa065',
    500: '#227827',
    950: '#000000',
  },
}
SCSS
$custom: #227827;
$custom-light: #6aa065;
$custom-dark: #000000;
JSON
{
  "hex": "#227827",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 123.488,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.14209,
    "h": 143.9
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#227827
secondary
#AB4BA5
accent
#49D6DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227827

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

Preview Lab → · Contrast checker → · Palette generator →

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