#225211#225211

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

Color values

HEX#225211
RGBrgb(34, 82, 17)
HSLhsl(104, 66%, 19%)
HSVhsv(104, 79%, 32%)
CMYKcmyk(58.5%, 0%, 79.3%, 67.8%)
CIE-LABlab(30.44, -29.52, 31.39)
CIE-LCHlch(30.44, 43.09, 133.24°)
OKLaboklab(39.05% -0.0813 0.0709)
OKLCHoklch(39.05% 0.108 138.9)
XYZxyz(3.7780, 6.4148, 1.5693)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225211 #411152
analogous
#435211 #225211 #115221
triadic
#225211 #112252 #521122
tetradic
#225211 #114352 #411152 #522111
square
#225211 #114352 #411152 #522111
split-complementary
#225211 #211152 #521143
monochromatic
#0B1905 #0D1F06 #225211 #37851C #4CB726

Accessibility & contrast

On white

9.20
#225211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#225211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225211
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225211#FFFFFF#000000##FFFFFF
##2252111.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A06
Deuteranopia (green-blind)
#4F4618
Tritanopia (blue-blind)
#1D4F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #225211;
/* rgb */ color: rgb(34, 82, 17);
/* oklch */ color: oklch(39.1% 0.108 138.9);
Tailwind
colors: {
  custom: {
    50: '#638354',
    500: '#225211',
    950: '#000000',
  },
}
SCSS
$custom: #225211;
$custom-light: #638354;
$custom-dark: #000000;
JSON
{
  "hex": "#225211",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 104.308,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39051,
    "c": 0.10789,
    "h": 138.9
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#225211
secondary
#74348B
accent
#3FE9BC
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #225211

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

Preview Lab → · Contrast checker → · Palette generator →

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