#227512#227512

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

Color values

HEX#227512
RGBrgb(34, 117, 18)
HSLhsl(110, 73%, 26%)
HSVhsv(110, 85%, 46%)
CMYKcmyk(70.9%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.92, -43.10, 43.08)
CIE-LCHlch(42.92, 60.94, 135.01°)
OKLaboklab(49.38% -0.1179 0.0955)
OKLCHoklch(49.38% 0.152 141)
XYZxyz(7.1298, 13.1056, 2.7260)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227512 #651275
analogous
#547512 #227512 #127534
triadic
#227512 #122275 #751222
tetradic
#227512 #125475 #651275 #753412
square
#227512 #125475 #651275 #753412
split-complementary
#227512 #341275 #751254
monochromatic
#081B04 #13400A #227512 #31AA1A #42DD24

Accessibility & contrast

On white

5.80
#227512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#227512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227512
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227512#FFFFFF#000000##FFFFFF
##2275121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#107163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227512;
/* rgb */ color: rgb(34, 117, 18);
/* oklch */ color: oklch(49.4% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#6b9e5a',
    500: '#227512',
    950: '#000000',
  },
}
SCSS
$custom: #227512;
$custom-light: #6b9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227512",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 110.303,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49382,
    "c": 0.15168,
    "h": 141
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#227512
secondary
#9937AC
accent
#38F0D2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227512

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

Preview Lab → · Contrast checker → · Palette generator →

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