#225216#225216

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

Color values

HEX#225216
RGBrgb(34, 82, 22)
HSLhsl(108, 58%, 20%)
HSVhsv(108, 73%, 32%)
CMYKcmyk(58.5%, 0%, 73.2%, 67.8%)
CIE-LABlab(30.48, -29.04, 29.19)
CIE-LCHlch(30.48, 41.18, 134.85°)
OKLaboklab(39.1% -0.0797 0.067)
OKLCHoklch(39.1% 0.104 139.9)
XYZxyz(3.8216, 6.4323, 1.7991)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225216 #461652
analogous
#405216 #225216 #165228
triadic
#225216 #162252 #521622
tetradic
#225216 #164052 #461652 #522816
square
#225216 #164052 #461652 #522816
split-complementary
#225216 #281652 #521640
monochromatic
#0A1806 #0E2209 #225216 #368223 #4AB330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##225216#FFFFFF#000000##FFFFFF
##2252161.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)
#544A0E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#1D4F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #225216;
/* rgb */ color: rgb(34, 82, 22);
/* oklch */ color: oklch(39.1% 0.104 139.9);
Tailwind
colors: {
  custom: {
    50: '#638357',
    500: '#225216',
    950: '#000000',
  },
}
SCSS
$custom: #225216;
$custom-light: #638357;
$custom-dark: #000000;
JSON
{
  "hex": "#225216",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 108,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.10414,
    "h": 139.9
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#225216
secondary
#7A3A89
accent
#47E1C2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #225216

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

Preview Lab → · Contrast checker → · Palette generator →

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