#227315#227315

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

Color values

HEX#227315
RGBrgb(34, 115, 21)
HSLhsl(112, 69%, 27%)
HSVhsv(112, 82%, 45%)
CMYKcmyk(70.4%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.24, -42.19, 41.47)
CIE-LCHlch(42.24, 59.16, 135.50°)
OKLaboklab(48.82% -0.1153 0.0926)
OKLCHoklch(48.82% 0.148 141.2)
XYZxyz(6.9254, 12.6550, 2.7870)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227315 #661573
analogous
#517315 #227315 #157337
triadic
#227315 #152273 #731522
tetradic
#227315 #155173 #661573 #733715
square
#227315 #155173 #661573 #733715
split-complementary
#227315 #371573 #731551
monochromatic
#081A05 #133F0C #227315 #31A71E #42D82A

Accessibility & contrast

On white

5.95
#227315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227315
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227315#FFFFFF#000000##FFFFFF
##2273151.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227315;
/* rgb */ color: rgb(34, 115, 21);
/* oklch */ color: oklch(48.8% 0.148 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9c5b',
    500: '#227315',
    950: '#000000',
  },
}
SCSS
$custom: #227315;
$custom-light: #6a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227315",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 111.702,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.14783,
    "h": 141.2
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#227315
secondary
#9A3BA9
accent
#3CECD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227315

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

Preview Lab → · Contrast checker → · Palette generator →

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