#227017#227017

#227017 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.143 H 141.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#227017
RGBrgb(34, 112, 23)
HSLhsl(113, 66%, 26%)
HSVhsv(113, 79%, 44%)
CMYKcmyk(69.6%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.20, -40.95, 39.75)
CIE-LCHlch(41.20, 57.07, 135.85°)
OKLaboklab(47.96% -0.1118 0.0893)
OKLCHoklch(47.96% 0.143 141.4)
XYZxyz(6.6082, 11.9896, 2.7764)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227017 #651770
analogous
#4F7017 #227017 #177039
triadic
#227017 #172270 #701722
tetradic
#227017 #174F70 #651770 #703917
square
#227017 #174F70 #651770 #703917
split-complementary
#227017 #391770 #70174F
monochromatic
#081905 #133D0D #227017 #31A321 #42D42D

Accessibility & contrast

On white

6.18
#227017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#227017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227017
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227017#FFFFFF#000000##FFFFFF
##2270171.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#126C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #227017;
/* rgb */ color: rgb(34, 112, 23);
/* oklch */ color: oklch(48.0% 0.143 141.4);
Tailwind
colors: {
  custom: {
    50: '#699a5b',
    500: '#227017',
    950: '#000000',
  },
}
SCSS
$custom: #227017;
$custom-light: #699a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227017",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 112.584,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47963,
    "c": 0.14308,
    "h": 141.4
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#227017
secondary
#993DA6
accent
#3FE9D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227017

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

Preview Lab → · Contrast checker → · Palette generator →

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