#225515#225515

#225515 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.109 H 139.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#225515
RGBrgb(34, 85, 21)
HSLhsl(108, 60%, 21%)
HSVhsv(108, 75%, 33%)
CMYKcmyk(60%, 0%, 75.3%, 66.7%)
CIE-LABlab(31.56, -30.44, 30.80)
CIE-LCHlch(31.56, 43.31, 134.67°)
OKLaboklab(39.99% -0.0835 0.0703)
OKLCHoklch(39.99% 0.109 139.9)
XYZxyz(4.0434, 6.8909, 1.8263)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225515 #481555
analogous
#425515 #225515 #155528
triadic
#225515 #152255 #551522
tetradic
#225515 #154255 #481555 #552815
square
#225515 #154255 #481555 #552815
split-complementary
#225515 #281555 #551542
monochromatic
#0A1906 #0E2409 #225515 #368621 #49B72D

Accessibility & contrast

On white

8.83
#225515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#225515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225515
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225515#FFFFFF#000000##FFFFFF
##2255151.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0B
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#1C5248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #225515;
/* rgb */ color: rgb(34, 85, 21);
/* oklch */ color: oklch(40.0% 0.109 139.9);
Tailwind
colors: {
  custom: {
    50: '#648556',
    500: '#225515',
    950: '#000000',
  },
}
SCSS
$custom: #225515;
$custom-light: #648556;
$custom-dark: #000000;
JSON
{
  "hex": "#225515",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 107.813,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39985,
    "c": 0.10917,
    "h": 139.9
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#225515
secondary
#7C398D
accent
#44E4C3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225515

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

Preview Lab → · Contrast checker → · Palette generator →

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