#227F19#227F19

#227F19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.160 H 141.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#227F19
RGBrgb(34, 127, 25)
HSLhsl(115, 67%, 30%)
HSVhsv(115, 80%, 50%)
CMYKcmyk(73.2%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.43, -46.16, 44.14)
CIE-LCHlch(46.43, 63.87, 136.28°)
OKLaboklab(52.31% -0.1258 0.0987)
OKLCHoklch(52.31% 0.16 141.9)
XYZxyz(8.4240, 15.5881, 3.4844)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F19 #76197F
analogous
#557F19 #227F19 #197F43
triadic
#227F19 #19227F #7F1922
tetradic
#227F19 #19557F #76197F #7F4319
square
#227F19 #19557F #76197F #7F4319
split-complementary
#227F19 #43197F #7F1955
monochromatic
#071A05 #144C0F #227F19 #30B223 #48D83A

Accessibility & contrast

On white

5.10
#227F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F19
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F19#FFFFFF#000000##FFFFFF
##227F191.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#077B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227f19;
/* rgb */ color: rgb(34, 127, 25);
/* oklch */ color: oklch(52.3% 0.160 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da55e',
    500: '#227f19',
    950: '#000000',
  },
}
SCSS
$custom: #227f19;
$custom-light: #6da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#227f19",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 114.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.1599,
    "h": 141.9
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#227F19
secondary
#A941B3
accent
#3EEADB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227F19

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

Preview Lab → · Contrast checker → · Palette generator →

#227F19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva