#225217#225217

#225217 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.103 H 140.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#225217
RGBrgb(34, 82, 23)
HSLhsl(109, 56%, 21%)
HSVhsv(109, 72%, 32%)
CMYKcmyk(58.5%, 0%, 72%, 67.8%)
CIE-LABlab(30.49, -28.94, 28.73)
CIE-LCHlch(30.49, 40.77, 135.21°)
OKLaboklab(39.11% -0.0793 0.0662)
OKLCHoklch(39.11% 0.103 140.2)
XYZxyz(3.8315, 6.4362, 1.8509)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225217 #471752
analogous
#3F5217 #225217 #17522A
triadic
#225217 #172252 #521722
tetradic
#225217 #173F52 #471752 #522A17
square
#225217 #173F52 #471752 #522A17
split-complementary
#225217 #2A1752 #52173F
monochromatic
#0A1807 #0E220A #225217 #368224 #4AB232

Accessibility & contrast

On white

9.18
#225217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#225217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225217
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225217#FFFFFF#000000##FFFFFF
##2252171.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0F
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#1D4F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #225217;
/* rgb */ color: rgb(34, 82, 23);
/* oklch */ color: oklch(39.1% 0.103 140.2);
Tailwind
colors: {
  custom: {
    50: '#638357',
    500: '#225217',
    950: '#000000',
  },
}
SCSS
$custom: #225217;
$custom-light: #638357;
$custom-dark: #000000;
JSON
{
  "hex": "#225217",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 108.814,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.10332,
    "h": 140.2
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#225217
secondary
#7B3C89
accent
#48DFC3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225217

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

Preview Lab → · Contrast checker → · Palette generator →

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