#224C12#224C12

#224C12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.099 H 138.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#224C12
RGBrgb(34, 76, 18)
HSLhsl(103, 62%, 18%)
HSVhsv(103, 76%, 30%)
CMYKcmyk(55.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(28.25, -26.76, 28.71)
CIE-LCHlch(28.25, 39.25, 132.99°)
OKLaboklab(37.26% -0.0738 0.0654)
OKLCHoklch(37.26% 0.099 138.4)
XYZxyz(3.3532, 5.5524, 1.4672)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224C12 #3C124C
analogous
#3F4C12 #224C12 #124C1F
triadic
#224C12 #12224C #4C1222
tetradic
#224C12 #123F4C #3C124C #4C1F12
square
#224C12 #123F4C #3C124C #4C1F12
split-complementary
#224C12 #1F124C #4C123F
monochromatic
#0B1906 #0C1B06 #224C12 #387D1E #4EAF29

Accessibility & contrast

On white

9.95
#224C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#224C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224C12
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224C12#FFFFFF#000000##FFFFFF
##224C121.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#494117
Tritanopia (blue-blind)
#1F4940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #224c12;
/* rgb */ color: rgb(34, 76, 18);
/* oklch */ color: oklch(37.3% 0.099 138.4);
Tailwind
colors: {
  custom: {
    50: '#627e54',
    500: '#224c12',
    950: '#000000',
  },
}
SCSS
$custom: #224c12;
$custom-light: #627e54;
$custom-dark: #000000;
JSON
{
  "hex": "#224c12",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 103.448,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.09864,
    "h": 138.4
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#224C12
secondary
#6F3585
accent
#43E5B8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #224C12

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

Preview Lab → · Contrast checker → · Palette generator →

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