#225617#225617

#225617 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.109 H 140.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#225617
RGBrgb(34, 86, 23)
HSLhsl(110, 58%, 21%)
HSVhsv(110, 73%, 34%)
CMYKcmyk(60.5%, 0%, 73.3%, 66.3%)
CIE-LABlab(31.94, -30.67, 30.28)
CIE-LCHlch(31.94, 43.10, 135.37°)
OKLaboklab(40.3% -0.084 0.0695)
OKLCHoklch(40.3% 0.109 140.4)
XYZxyz(4.1419, 7.0572, 1.9543)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225617 #4B1756
analogous
#425617 #225617 #17562C
triadic
#225617 #172256 #561722
tetradic
#225617 #174256 #4B1756 #562C17
square
#225617 #174256 #4B1756 #562C17
split-complementary
#225617 #2C1756 #561742
monochromatic
#0A1806 #0F260A #225617 #358624 #48B731

Accessibility & contrast

On white

8.71
#225617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#225617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225617
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225617#FFFFFF#000000##FFFFFF
##2256171.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0E
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#1C5349
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #225617;
/* rgb */ color: rgb(34, 86, 23);
/* oklch */ color: oklch(40.3% 0.109 140.4);
Tailwind
colors: {
  custom: {
    50: '#648658',
    500: '#225617',
    950: '#000000',
  },
}
SCSS
$custom: #225617;
$custom-light: #648658;
$custom-dark: #000000;
JSON
{
  "hex": "#225617",
  "rgb": {
    "r": 34,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 109.524,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.10903,
    "h": 140.4
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#225617
secondary
#7F3C8D
accent
#47E1C6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225617

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

Preview Lab → · Contrast checker → · Palette generator →

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