#225A17#225A17

#225A17 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.115 H 140.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#225A17
RGBrgb(34, 90, 23)
HSLhsl(110, 59%, 22%)
HSVhsv(110, 74%, 35%)
CMYKcmyk(62.2%, 0%, 74.4%, 64.7%)
CIE-LABlab(33.38, -32.36, 31.81)
CIE-LCHlch(33.38, 45.38, 135.49°)
OKLaboklab(41.49% -0.0886 0.0727)
OKLCHoklch(41.49% 0.115 140.6)
XYZxyz(4.4703, 7.7139, 2.0638)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A17 #4F175A
analogous
#445A17 #225A17 #175A2E
triadic
#225A17 #17225A #5A1722
tetradic
#225A17 #17445A #4F175A #5A2E17
square
#225A17 #17445A #4F175A #5A2E17
split-complementary
#225A17 #2E175A #5A1744
monochromatic
#091806 #10290B #225A17 #348B23 #47BB30

Accessibility & contrast

On white

8.26
#225A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#225A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A17
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A17#FFFFFF#000000##FFFFFF
##225A171.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510D
Deuteranopia (green-blind)
#554D1D
Tritanopia (blue-blind)
#1B574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #225a17;
/* rgb */ color: rgb(34, 90, 23);
/* oklch */ color: oklch(41.5% 0.115 140.6);
Tailwind
colors: {
  custom: {
    50: '#648958',
    500: '#225a17',
    950: '#000000',
  },
}
SCSS
$custom: #225a17;
$custom-light: #648958;
$custom-dark: #000000;
JSON
{
  "hex": "#225a17",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 110.149,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.1146,
    "h": 140.6
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#225A17
secondary
#833C91
accent
#45E2C9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225A17

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

Preview Lab → · Contrast checker → · Palette generator →

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