#224712#224712

#224712 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.091 H 137.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#224712
RGBrgb(34, 71, 18)
HSLhsl(102, 60%, 17%)
HSVhsv(102, 75%, 28%)
CMYKcmyk(52.1%, 0%, 74.6%, 72.2%)
CIE-LABlab(26.42, -24.44, 26.77)
CIE-LCHlch(26.42, 36.25, 132.40°)
OKLaboklab(35.75% -0.0675 0.0614)
OKLCHoklch(35.75% 0.091 137.7)
XYZxyz(3.0220, 4.8900, 1.3568)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224712 #371247
analogous
#3D4712 #224712 #12471D
triadic
#224712 #122247 #471222
tetradic
#224712 #123D47 #371247 #471D12
square
#224712 #123D47 #371247 #471D12
split-complementary
#224712 #1D1247 #47123D
monochromatic
#0C1806 #0C1806 #224712 #39781E #51A92B

Accessibility & contrast

On white

10.62
#224712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#224712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224712
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224712#FFFFFF#000000##FFFFFF
##2247121.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#453D17
Tritanopia (blue-blind)
#20443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #224712;
/* rgb */ color: rgb(34, 71, 18);
/* oklch */ color: oklch(35.7% 0.091 137.7);
Tailwind
colors: {
  custom: {
    50: '#617a53',
    500: '#224712',
    950: '#000000',
  },
}
SCSS
$custom: #224712;
$custom-light: #617a53;
$custom-dark: #000000;
JSON
{
  "hex": "#224712",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 101.887,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35749,
    "c": 0.09124,
    "h": 137.7
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#224712
secondary
#693580
accent
#45E3B3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #224712

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

Preview Lab → · Contrast checker → · Palette generator →

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