#227319#227319

#227319 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.146 H 141.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#227319
RGBrgb(34, 115, 25)
HSLhsl(114, 64%, 27%)
HSVhsv(114, 78%, 45%)
CMYKcmyk(70.4%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.26, -41.90, 40.06)
CIE-LCHlch(42.26, 57.97, 136.28°)
OKLaboklab(48.85% -0.1142 0.0902)
OKLCHoklch(48.85% 0.146 141.7)
XYZxyz(6.9655, 12.6710, 2.9982)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227319 #6A1973
analogous
#4F7319 #227319 #19733D
triadic
#227319 #192273 #731922
tetradic
#227319 #194F73 #6A1973 #733D19
square
#227319 #194F73 #6A1973 #733D19
split-complementary
#227319 #3D1973 #73194F
monochromatic
#071905 #13410E #227319 #31A524 #44D334

Accessibility & contrast

On white

5.94
#227319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227319
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227319#FFFFFF#000000##FFFFFF
##2273191.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#106F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227319;
/* rgb */ color: rgb(34, 115, 25);
/* oklch */ color: oklch(48.8% 0.146 141.7);
Tailwind
colors: {
  custom: {
    50: '#6a9c5d',
    500: '#227319',
    950: '#000000',
  },
}
SCSS
$custom: #227319;
$custom-light: #6a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#227319",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 114,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.14557,
    "h": 141.7
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#227319
secondary
#9E40A8
accent
#41E7D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227319

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

Preview Lab → · Contrast checker → · Palette generator →

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