#224D12#224D12

#224D12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.100 H 138.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#224D12
RGBrgb(34, 77, 18)
HSLhsl(104, 62%, 19%)
HSVhsv(104, 77%, 30%)
CMYKcmyk(55.8%, 0%, 76.6%, 69.8%)
CIE-LABlab(28.62, -27.22, 29.09)
CIE-LCHlch(28.62, 39.84, 133.09°)
OKLaboklab(37.56% -0.075 0.0662)
OKLCHoklch(37.56% 0.1 138.6)
XYZxyz(3.4226, 5.6913, 1.4903)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224D12 #3D124D
analogous
#3F4D12 #224D12 #124D1F
triadic
#224D12 #12224D #4D1222
tetradic
#224D12 #123F4D #3D124D #4D1F12
square
#224D12 #123F4D #3D124D #4D1F12
split-complementary
#224D12 #1F124D #4D123F
monochromatic
#0B1906 #0C1B06 #224D12 #387F1E #4EB029

Accessibility & contrast

On white

9.82
#224D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#224D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224D12
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224D12#FFFFFF#000000##FFFFFF
##224D121.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#1E4A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #224d12;
/* rgb */ color: rgb(34, 77, 18);
/* oklch */ color: oklch(37.6% 0.100 138.6);
Tailwind
colors: {
  custom: {
    50: '#627f54',
    500: '#224d12',
    950: '#000000',
  },
}
SCSS
$custom: #224d12;
$custom-light: #627f54;
$custom-dark: #000000;
JSON
{
  "hex": "#224d12",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 103.729,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37558,
    "c": 0.10009,
    "h": 138.6
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#224D12
secondary
#703586
accent
#43E5B9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #224D12

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

Preview Lab → · Contrast checker → · Palette generator →

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