#227931#227931

#227931 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.135 H 146.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#227931
RGBrgb(34, 121, 49)
HSLhsl(130, 56%, 30%)
HSVhsv(130, 72%, 47%)
CMYKcmyk(71.9%, 0%, 59.5%, 52.5%)
CIE-LABlab(44.57, -41.49, 31.73)
CIE-LCHlch(44.57, 52.23, 142.59°)
OKLaboklab(50.83% -0.112 0.0754)
OKLCHoklch(50.83% 0.135 146.1)
XYZxyz(8.0509, 14.2357, 5.2286)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227931 #79226A
analogous
#3E7922 #227931 #22795C
triadic
#227931 #312279 #793122
tetradic
#227931 #223E79 #79226A #795C22
square
#227931 #223E79 #79226A #795C22
split-complementary
#227931 #5C2279 #79223E
monochromatic
#07190A #15491E #227931 #2FA944 #49CC60

Accessibility & contrast

On white

5.46
#227931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#227931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227931
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227931#FFFFFF#000000##FFFFFF
##2279311.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#706737
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227931;
/* rgb */ color: rgb(34, 121, 49);
/* oklch */ color: oklch(50.8% 0.135 146.1);
Tailwind
colors: {
  custom: {
    50: '#6aa16b',
    500: '#227931',
    950: '#000000',
  },
}
SCSS
$custom: #227931;
$custom-light: #6aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#227931",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 130.345,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5083,
    "c": 0.13495,
    "h": 146.1
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

primary
#227931
secondary
#AC4B9B
accent
#48C5DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227931

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

Preview Lab → · Contrast checker → · Palette generator →

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