#224718#224718

#224718 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.8% C 0.086 H 139.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#224718
RGBrgb(34, 71, 24)
HSLhsl(107, 49%, 19%)
HSVhsv(107, 66%, 28%)
CMYKcmyk(52.1%, 0%, 66.2%, 72.2%)
CIE-LABlab(26.48, -23.75, 23.75)
CIE-LCHlch(26.48, 33.59, 135.00°)
OKLaboklab(35.82% -0.0652 0.0557)
OKLCHoklch(35.82% 0.086 139.5)
XYZxyz(3.0777, 4.9123, 1.6500)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224718 #3D1847
analogous
#394718 #224718 #184725
triadic
#224718 #182247 #471822
tetradic
#224718 #183947 #3D1847 #472518
square
#224718 #183947 #3D1847 #472518
split-complementary
#224718 #251847 #471839
monochromatic
#0B1708 #0C1909 #224718 #387527 #4EA237

Accessibility & contrast

On white

10.59
#224718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224718
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224718#FFFFFF#000000##FFFFFF
##2247181.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494113
Deuteranopia (green-blind)
#443D1C
Tritanopia (blue-blind)
#1F453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #224718;
/* rgb */ color: rgb(34, 71, 24);
/* oklch */ color: oklch(35.8% 0.086 139.5);
Tailwind
colors: {
  custom: {
    50: '#617a57',
    500: '#224718',
    950: '#000000',
  },
}
SCSS
$custom: #224718;
$custom-light: #617a57;
$custom-dark: #000000;
JSON
{
  "hex": "#224718",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 107.234,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.08576,
    "h": 139.5
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#224718
secondary
#703D7E
accent
#4FD9BC
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050903
muted
#797B78

Preview Lab

Preview with #224718

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

Preview Lab → · Contrast checker → · Palette generator →

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