#225F17#225F17

#225F17 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.121 H 140.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#225F17
RGBrgb(34, 95, 23)
HSLhsl(111, 61%, 23%)
HSVhsv(111, 76%, 37%)
CMYKcmyk(64.2%, 0%, 75.8%, 62.7%)
CIE-LABlab(35.17, -34.41, 33.68)
CIE-LCHlch(35.17, 48.15, 135.61°)
OKLaboklab(42.98% -0.0941 0.0766)
OKLCHoklch(42.98% 0.121 140.9)
XYZxyz(4.9063, 8.5859, 2.2091)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F17 #54175F
analogous
#465F17 #225F17 #175F30
triadic
#225F17 #17225F #5F1722
tetradic
#225F17 #17465F #54175F #5F3017
square
#225F17 #17465F #54175F #5F3017
split-complementary
#225F17 #30175F #5F1746
monochromatic
#091906 #102E0B #225F17 #349023 #45C22F

Accessibility & contrast

On white

7.73
#225F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#225F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F17
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F17#FFFFFF#000000##FFFFFF
##225F171.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#195C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f17;
/* rgb */ color: rgb(34, 95, 23);
/* oklch */ color: oklch(43.0% 0.121 140.9);
Tailwind
colors: {
  custom: {
    50: '#668d59',
    500: '#225f17',
    950: '#000000',
  },
}
SCSS
$custom: #225f17;
$custom-light: #668d59;
$custom-dark: #000000;
JSON
{
  "hex": "#225f17",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 110.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.12137,
    "h": 140.9
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#225F17
secondary
#883C96
accent
#44E4CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225F17

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

Preview Lab → · Contrast checker → · Palette generator →

#225F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva