#227317#227317

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

Color values

HEX#227317
RGBrgb(34, 115, 23)
HSLhsl(113, 67%, 27%)
HSVhsv(113, 80%, 45%)
CMYKcmyk(70.4%, 0%, 80%, 54.9%)
CIE-LABlab(42.25, -42.05, 40.78)
CIE-LCHlch(42.25, 58.58, 135.88°)
OKLaboklab(48.83% -0.1148 0.0914)
OKLCHoklch(48.83% 0.147 141.5)
XYZxyz(6.9447, 12.6627, 2.8886)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227317 #681773
analogous
#507317 #227317 #17733A
triadic
#227317 #172273 #731722
tetradic
#227317 #175073 #681773 #733A17
square
#227317 #175073 #681773 #733A17
split-complementary
#227317 #3A1773 #731750
monochromatic
#081A05 #13400D #227317 #31A621 #43D52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227317#FFFFFF#000000##FFFFFF
##2273171.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)
#766802
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227317;
/* rgb */ color: rgb(34, 115, 23);
/* oklch */ color: oklch(48.8% 0.147 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a9c5c',
    500: '#227317',
    950: '#000000',
  },
}
SCSS
$custom: #227317;
$custom-light: #6a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227317",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 112.826,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.14674,
    "h": 141.5
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#227317
secondary
#9C3DA9
accent
#3EEAD5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227317

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

Preview Lab → · Contrast checker → · Palette generator →

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