#225215#225215

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

Color values

HEX#225215
RGBrgb(34, 82, 21)
HSLhsl(107, 59%, 20%)
HSVhsv(107, 74%, 32%)
CMYKcmyk(58.5%, 0%, 74.4%, 67.8%)
CIE-LABlab(30.47, -29.14, 29.65)
CIE-LCHlch(30.47, 41.58, 134.50°)
OKLaboklab(39.09% -0.08 0.0679)
OKLCHoklch(39.09% 0.105 139.7)
XYZxyz(3.8122, 6.4285, 1.7493)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225215 #451552
analogous
#405215 #225215 #155226
triadic
#225215 #152252 #521522
tetradic
#225215 #154052 #451552 #522615
square
#225215 #154052 #451552 #522615
split-complementary
#225215 #261552 #521540
monochromatic
#0A1806 #0E2109 #225215 #368321 #4AB32E

Accessibility & contrast

On white

9.19
#225215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225215
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225215#FFFFFF#000000##FFFFFF
##2252151.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #225215;
/* rgb */ color: rgb(34, 82, 21);
/* oklch */ color: oklch(39.1% 0.105 139.7);
Tailwind
colors: {
  custom: {
    50: '#638356',
    500: '#225215',
    950: '#000000',
  },
}
SCSS
$custom: #225215;
$custom-light: #638356;
$custom-dark: #000000;
JSON
{
  "hex": "#225215",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 107.213,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.10494,
    "h": 139.7
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#225215
secondary
#79398A
accent
#45E2C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #225215

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

Preview Lab → · Contrast checker → · Palette generator →

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