#225E12#225E12

#225E12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.123 H 140.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#225E12
RGBrgb(34, 94, 18)
HSLhsl(107, 68%, 22%)
HSVhsv(107, 81%, 37%)
CMYKcmyk(63.8%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.78, -34.43, 35.32)
CIE-LCHlch(34.78, 49.32, 134.27°)
OKLaboklab(42.64% -0.0945 0.0793)
OKLCHoklch(42.64% 0.123 140)
XYZxyz(4.7714, 8.3887, 1.9399)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225E12 #4E125E
analogous
#485E12 #225E12 #125E28
triadic
#225E12 #12225E #5E1222
tetradic
#225E12 #12485E #4E125E #5E2812
square
#225E12 #12485E #4E125E #5E2812
split-complementary
#225E12 #28125E #5E1248
monochromatic
#091A05 #0F2B08 #225E12 #35911C #47C526

Accessibility & contrast

On white

7.84
#225E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#225E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225E12
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225E12#FFFFFF#000000##FFFFFF
##225E121.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#1A5B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225e12;
/* rgb */ color: rgb(34, 94, 18);
/* oklch */ color: oklch(42.6% 0.123 140.0);
Tailwind
colors: {
  custom: {
    50: '#668c56',
    500: '#225e12',
    950: '#000000',
  },
}
SCSS
$custom: #225e12;
$custom-light: #668c56;
$custom-dark: #000000;
JSON
{
  "hex": "#225e12",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 107.368,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.12334,
    "h": 140
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#225E12
secondary
#823596
accent
#3DEBC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #225E12

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

Preview Lab → · Contrast checker → · Palette generator →

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