#225115#225115

#225115 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.103 H 139.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#225115
RGBrgb(34, 81, 21)
HSLhsl(107, 59%, 20%)
HSVhsv(107, 74%, 32%)
CMYKcmyk(58%, 0%, 74.1%, 68.2%)
CIE-LABlab(30.11, -28.71, 29.27)
CIE-LCHlch(30.11, 40.99, 134.44°)
OKLaboklab(38.79% -0.0788 0.0671)
OKLCHoklch(38.79% 0.104 139.6)
XYZxyz(3.7373, 6.2788, 1.7243)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225115 #441551
analogous
#405115 #225115 #155126
triadic
#225115 #152251 #511522
tetradic
#225115 #154051 #441551 #512615
square
#225115 #154051 #441551 #512615
split-complementary
#225115 #261551 #511540
monochromatic
#0A1806 #0E2008 #225115 #368222 #4BB22E

Accessibility & contrast

On white

9.31
#225115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#225115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225115
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225115#FFFFFF#000000##FFFFFF
##2251151.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#1D4E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #225115;
/* rgb */ color: rgb(34, 81, 21);
/* oklch */ color: oklch(38.8% 0.103 139.6);
Tailwind
colors: {
  custom: {
    50: '#638256',
    500: '#225115',
    950: '#000000',
  },
}
SCSS
$custom: #225115;
$custom-light: #638256;
$custom-dark: #000000;
JSON
{
  "hex": "#225115",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 107,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38789,
    "c": 0.1035,
    "h": 139.6
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#225115
secondary
#783989
accent
#46E2C0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225115

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

Preview Lab → · Contrast checker → · Palette generator →

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