#224912#224912

#224912 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.4% C 0.094 H 138.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#224912
RGBrgb(34, 73, 18)
HSLhsl(103, 60%, 18%)
HSVhsv(103, 75%, 29%)
CMYKcmyk(53.4%, 0%, 75.3%, 71.4%)
CIE-LABlab(27.15, -25.38, 27.55)
CIE-LCHlch(27.15, 37.46, 132.65°)
OKLaboklab(36.35% -0.0701 0.063)
OKLCHoklch(36.35% 0.094 138)
XYZxyz(3.1513, 5.1486, 1.3999)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224912 #391249
analogous
#3E4912 #224912 #12491D
triadic
#224912 #122249 #491222
tetradic
#224912 #123E49 #391249 #491D12
square
#224912 #123E49 #391249 #491D12
split-complementary
#224912 #1D1249 #49123E
monochromatic
#0B1906 #0B1906 #224912 #397A1E #50AB2A

Accessibility & contrast

On white

10.35
#224912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#224912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224912
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224912#FFFFFF#000000##FFFFFF
##2249121.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420A
Deuteranopia (green-blind)
#463F17
Tritanopia (blue-blind)
#1F463E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #224912;
/* rgb */ color: rgb(34, 73, 18);
/* oklch */ color: oklch(36.4% 0.094 138.0);
Tailwind
colors: {
  custom: {
    50: '#617c53',
    500: '#224912',
    950: '#000000',
  },
}
SCSS
$custom: #224912;
$custom-light: #617c53;
$custom-dark: #000000;
JSON
{
  "hex": "#224912",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 102.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36353,
    "c": 0.09423,
    "h": 138
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#224912
secondary
#6C3582
accent
#44E4B5
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #224912

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

Preview Lab → · Contrast checker → · Palette generator →

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