#225F15#225F15

#225F15 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.0% C 0.123 H 140.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#225F15
RGBrgb(34, 95, 21)
HSLhsl(109, 64%, 23%)
HSVhsv(109, 78%, 37%)
CMYKcmyk(64.2%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.16, -34.59, 34.51)
CIE-LCHlch(35.16, 48.86, 135.07°)
OKLaboklab(42.96% -0.0947 0.078)
OKLCHoklch(42.96% 0.123 140.5)
XYZxyz(4.8870, 8.5782, 2.1075)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F15 #52155F
analogous
#475F15 #225F15 #155F2D
triadic
#225F15 #15225F #5F1522
tetradic
#225F15 #15475F #52155F #5F2D15
square
#225F15 #15475F #52155F #5F2D15
split-complementary
#225F15 #2D155F #5F1547
monochromatic
#091906 #102D0A #225F15 #349120 #46C32B

Accessibility & contrast

On white

7.73
#225F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#225F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F15
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F15#FFFFFF#000000##FFFFFF
##225F151.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#195C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f15;
/* rgb */ color: rgb(34, 95, 21);
/* oklch */ color: oklch(43.0% 0.123 140.5);
Tailwind
colors: {
  custom: {
    50: '#668d58',
    500: '#225f15',
    950: '#000000',
  },
}
SCSS
$custom: #225f15;
$custom-light: #668d58;
$custom-dark: #000000;
JSON
{
  "hex": "#225f15",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 109.459,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42959,
    "c": 0.12274,
    "h": 140.5
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#225F15
secondary
#863A96
accent
#41E7CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #225F15

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

Preview Lab → · Contrast checker → · Palette generator →

#225F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva