#225F11#225F11

#225F11 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.125 H 139.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#225F11
RGBrgb(34, 95, 17)
HSLhsl(107, 70%, 22%)
HSVhsv(107, 82%, 37%)
CMYKcmyk(64.2%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.13, -34.90, 36.03)
CIE-LCHlch(35.13, 50.17, 134.09°)
OKLaboklab(42.93% -0.0958 0.0806)
OKLCHoklch(42.93% 0.125 139.9)
XYZxyz(4.8529, 8.5645, 1.9276)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F11 #4E115F
analogous
#495F11 #225F11 #115F27
triadic
#225F11 #11225F #5F1122
tetradic
#225F11 #11495F #4E115F #5F2711
square
#225F11 #11495F #4E115F #5F2711
split-complementary
#225F11 #27115F #5F1149
monochromatic
#091A05 #0F2B08 #225F11 #35931A #47C724

Accessibility & contrast

On white

7.74
#225F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#225F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F11
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F11#FFFFFF#000000##FFFFFF
##225F111.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#1A5C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f11;
/* rgb */ color: rgb(34, 95, 17);
/* oklch */ color: oklch(42.9% 0.125 139.9);
Tailwind
colors: {
  custom: {
    50: '#668d56',
    500: '#225f11',
    950: '#000000',
  },
}
SCSS
$custom: #225f11;
$custom-light: #668d56;
$custom-dark: #000000;
JSON
{
  "hex": "#225f11",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 106.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.12523,
    "h": 139.9
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#225F11
secondary
#823498
accent
#3BECC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #225F11

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

Preview Lab → · Contrast checker → · Palette generator →

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