#225A12#225A12

#225A12 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.118 H 139.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#225A12
RGBrgb(34, 90, 18)
HSLhsl(107, 67%, 21%)
HSVhsv(107, 80%, 35%)
CMYKcmyk(62.2%, 0%, 80%, 64.7%)
CIE-LABlab(33.34, -32.81, 33.89)
CIE-LCHlch(33.34, 47.17, 134.07°)
OKLaboklab(41.45% -0.0901 0.0763)
OKLCHoklch(41.45% 0.118 139.8)
XYZxyz(4.4248, 7.6957, 1.8244)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A12 #4A125A
analogous
#465A12 #225A12 #125A26
triadic
#225A12 #12225A #5A1222
tetradic
#225A12 #12465A #4A125A #5A2612
square
#225A12 #12465A #4A125A #5A2612
split-complementary
#225A12 #26125A #5A1246
monochromatic
#0A1A05 #0F2708 #225A12 #358D1C #49C026

Accessibility & contrast

On white

8.27
#225A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#225A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A12
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A12#FFFFFF#000000##FFFFFF
##225A121.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#1B574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #225a12;
/* rgb */ color: rgb(34, 90, 18);
/* oklch */ color: oklch(41.4% 0.118 139.8);
Tailwind
colors: {
  custom: {
    50: '#658955',
    500: '#225a12',
    950: '#000000',
  },
}
SCSS
$custom: #225a12;
$custom-light: #658955;
$custom-dark: #000000;
JSON
{
  "hex": "#225a12",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 106.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.11808,
    "h": 139.8
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#225A12
secondary
#7E3593
accent
#3EEAC4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #225A12

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

Preview Lab → · Contrast checker → · Palette generator →

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