#227431#227431

#227431 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.128 H 146.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#227431
RGBrgb(34, 116, 49)
HSLhsl(131, 55%, 29%)
HSVhsv(131, 71%, 45%)
CMYKcmyk(70.7%, 0%, 57.8%, 54.5%)
CIE-LABlab(42.84, -39.56, 29.68)
CIE-LCHlch(42.84, 49.46, 143.12°)
OKLaboklab(49.4% -0.1068 0.0709)
OKLCHoklch(49.4% 0.128 146.4)
XYZxyz(7.4589, 13.0518, 5.0313)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227431 #742265
analogous
#3C7422 #227431 #22745A
triadic
#227431 #312274 #743122
tetradic
#227431 #223C74 #742265 #745A22
square
#227431 #223C74 #742265 #745A22
split-complementary
#227431 #5A2274 #74223C
monochromatic
#07180A #14451D #227431 #30A345 #47C95F

Accessibility & contrast

On white

5.82
#227431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#227431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227431
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227431#FFFFFF#000000##FFFFFF
##2274311.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76692B
Deuteranopia (green-blind)
#6C6236
Tritanopia (blue-blind)
#047165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227431;
/* rgb */ color: rgb(34, 116, 49);
/* oklch */ color: oklch(49.4% 0.128 146.4);
Tailwind
colors: {
  custom: {
    50: '#699d6b',
    500: '#227431',
    950: '#000000',
  },
}
SCSS
$custom: #227431;
$custom-light: #699d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#227431",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 49
  },
  "hsl": {
    "h": 130.976,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.12814,
    "h": 146.4
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#227431
secondary
#A74B96
accent
#4AC3DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227431

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

Preview Lab → · Contrast checker → · Palette generator →

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