#225D17#225D17

#225D17 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.119 H 140.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#225D17
RGBrgb(34, 93, 23)
HSLhsl(111, 60%, 23%)
HSVhsv(111, 75%, 36%)
CMYKcmyk(63.4%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.46, -33.60, 32.94)
CIE-LCHlch(34.46, 47.05, 135.57°)
OKLaboklab(42.38% -0.0919 0.075)
OKLCHoklch(42.38% 0.119 140.8)
XYZxyz(4.7285, 8.2302, 2.1499)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225D17 #52175D
analogous
#455D17 #225D17 #175D2F
triadic
#225D17 #17225D #5D1722
tetradic
#225D17 #17455D #52175D #5D2F17
square
#225D17 #17455D #52175D #5D2F17
split-complementary
#225D17 #2F175D #5D1745
monochromatic
#091906 #102C0B #225D17 #348E23 #46BF2F

Accessibility & contrast

On white

7.94
#225D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#225D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225D17
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225D17#FFFFFF#000000##FFFFFF
##225D171.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#1A5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225d17;
/* rgb */ color: rgb(34, 93, 23);
/* oklch */ color: oklch(42.4% 0.119 140.8);
Tailwind
colors: {
  custom: {
    50: '#658b59',
    500: '#225d17',
    950: '#000000',
  },
}
SCSS
$custom: #225d17;
$custom-light: #658b59;
$custom-dark: #000000;
JSON
{
  "hex": "#225d17",
  "rgb": {
    "r": 34,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 110.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.11868,
    "h": 140.8
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#225D17
secondary
#863C94
accent
#44E3CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #225D17

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

Preview Lab → · Contrast checker → · Palette generator →

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