#228719#228719

#228719 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.169 H 142.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#228719
RGBrgb(34, 135, 25)
HSLhsl(115, 69%, 31%)
HSVhsv(115, 81%, 53%)
CMYKcmyk(74.8%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.18, -48.90, 46.77)
CIE-LCHlch(49.18, 67.67, 136.28°)
OKLaboklab(54.59% -0.1332 0.1042)
OKLCHoklch(54.59% 0.169 142)
XYZxyz(9.4986, 17.7371, 3.8425)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228719 #7E1987
analogous
#598719 #228719 #198747
triadic
#228719 #192287 #871922
tetradic
#228719 #195987 #7E1987 #874719
square
#228719 #195987 #7E1987 #874719
split-complementary
#228719 #471987 #871959
monochromatic
#082006 #15530F #228719 #2FBB23 #4CDB3F

Accessibility & contrast

On white

4.62
#228719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#228719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228719
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228719#FFFFFF#000000##FFFFFF
##2287191.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228719;
/* rgb */ color: rgb(34, 135, 25);
/* oklch */ color: oklch(54.6% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fab60',
    500: '#228719',
    950: '#000000',
  },
}
SCSS
$custom: #228719;
$custom-light: #6fab60;
$custom-dark: #000000;
JSON
{
  "hex": "#228719",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 115.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.16911,
    "h": 142
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#228719
secondary
#B141BA
accent
#3CECDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #228719

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

Preview Lab → · Contrast checker → · Palette generator →

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