#225D12#225D12

#225D12 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.3% C 0.122 H 140.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#225D12
RGBrgb(34, 93, 18)
HSLhsl(107, 68%, 22%)
HSVhsv(107, 81%, 36%)
CMYKcmyk(63.4%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.42, -34.03, 34.96)
CIE-LCHlch(34.42, 48.79, 134.22°)
OKLaboklab(42.34% -0.0934 0.0785)
OKLCHoklch(42.34% 0.122 140)
XYZxyz(4.6830, 8.2120, 1.9104)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225D12 #4D125D
analogous
#485D12 #225D12 #125D28
triadic
#225D12 #12225D #5D1222
tetradic
#225D12 #12485D #4D125D #5D2812
square
#225D12 #12485D #4D125D #5D2812
split-complementary
#225D12 #28125D #5D1248
monochromatic
#091A05 #0F2A08 #225D12 #35901C #47C426

Accessibility & contrast

On white

7.95
#225D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#225D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225D12
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225D12#FFFFFF#000000##FFFFFF
##225D121.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#1A5A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225d12;
/* rgb */ color: rgb(34, 93, 18);
/* oklch */ color: oklch(42.3% 0.122 140.0);
Tailwind
colors: {
  custom: {
    50: '#658b56',
    500: '#225d12',
    950: '#000000',
  },
}
SCSS
$custom: #225d12;
$custom-light: #658b56;
$custom-dark: #000000;
JSON
{
  "hex": "#225d12",
  "rgb": {
    "r": 34,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 107.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.12204,
    "h": 140
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#225D12
secondary
#813595
accent
#3DEAC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #225D12

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

Preview Lab → · Contrast checker → · Palette generator →

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