#224812#224812

#224812 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.1% C 0.093 H 137.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#224812
RGBrgb(34, 72, 18)
HSLhsl(102, 60%, 18%)
HSVhsv(102, 75%, 28%)
CMYKcmyk(52.8%, 0%, 75%, 71.8%)
CIE-LABlab(26.79, -24.91, 27.16)
CIE-LCHlch(26.79, 36.86, 132.53°)
OKLaboklab(36.05% -0.0688 0.0622)
OKLCHoklch(36.05% 0.093 137.9)
XYZxyz(3.0861, 5.0183, 1.3782)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224812 #381248
analogous
#3D4812 #224812 #12481D
triadic
#224812 #122248 #481222
tetradic
#224812 #123D48 #381248 #481D12
square
#224812 #123D48 #381248 #481D12
split-complementary
#224812 #1D1248 #48123D
monochromatic
#0C1806 #0C1806 #224812 #39791E #50AA2A

Accessibility & contrast

On white

10.48
#224812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#224812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224812
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224812#FFFFFF#000000##FFFFFF
##2248121.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#1F453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #224812;
/* rgb */ color: rgb(34, 72, 18);
/* oklch */ color: oklch(36.1% 0.093 137.9);
Tailwind
colors: {
  custom: {
    50: '#617b53',
    500: '#224812',
    950: '#000000',
  },
}
SCSS
$custom: #224812;
$custom-light: #617b53;
$custom-dark: #000000;
JSON
{
  "hex": "#224812",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 102.222,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36051,
    "c": 0.09274,
    "h": 137.9
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#224812
secondary
#6A3581
accent
#45E3B4
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #224812

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

Preview Lab → · Contrast checker → · Palette generator →

#224812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva