#225C12#225C12

#225C12 is a dark, vivid green. Relative luminance 0.080; OKLCH L 42.0% C 0.121 H 139.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#225C12
RGBrgb(34, 92, 18)
HSLhsl(107, 67%, 22%)
HSVhsv(107, 80%, 36%)
CMYKcmyk(63%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.06, -33.62, 34.61)
CIE-LCHlch(34.06, 48.25, 134.18°)
OKLaboklab(42.05% -0.0923 0.0778)
OKLCHoklch(42.05% 0.121 139.9)
XYZxyz(4.5958, 8.0376, 1.8814)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225C12 #4C125C
analogous
#475C12 #225C12 #125C27
triadic
#225C12 #12225C #5C1222
tetradic
#225C12 #12475C #4C125C #5C2712
square
#225C12 #12475C #4C125C #5C2712
split-complementary
#225C12 #27125C #5C1247
monochromatic
#091A05 #0F2908 #225C12 #358F1C #48C226

Accessibility & contrast

On white

8.05
#225C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#225C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225C12
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225C12#FFFFFF#000000##FFFFFF
##225C121.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#1B594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #225c12;
/* rgb */ color: rgb(34, 92, 18);
/* oklch */ color: oklch(42.0% 0.121 139.9);
Tailwind
colors: {
  custom: {
    50: '#658b56',
    500: '#225c12',
    950: '#000000',
  },
}
SCSS
$custom: #225c12;
$custom-light: #658b56;
$custom-dark: #000000;
JSON
{
  "hex": "#225c12",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 107.027,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42045,
    "c": 0.12073,
    "h": 139.9
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#225C12
secondary
#803594
accent
#3EEAC5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #225C12

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

Preview Lab → · Contrast checker → · Palette generator →

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