#224717#224717

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

Color values

HEX#224717
RGBrgb(34, 71, 23)
HSLhsl(106, 51%, 18%)
HSVhsv(106, 68%, 28%)
CMYKcmyk(52.1%, 0%, 67.6%, 72.2%)
CIE-LABlab(26.47, -23.88, 24.28)
CIE-LCHlch(26.47, 34.05, 134.52°)
OKLaboklab(35.81% -0.0656 0.0567)
OKLCHoklch(35.81% 0.087 139.1)
XYZxyz(3.0675, 4.9082, 1.5962)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224717 #3C1747
analogous
#3A4717 #224717 #174724
triadic
#224717 #172247 #471722
tetradic
#224717 #173A47 #3C1747 #472417
square
#224717 #173A47 #3C1747 #472417
split-complementary
#224717 #241747 #47173A
monochromatic
#0B1707 #0C1908 #224717 #387526 #4EA335

Accessibility & contrast

On white

10.60
#224717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224717
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224717#FFFFFF#000000##FFFFFF
##2247171.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224717;
/* rgb */ color: rgb(34, 71, 23);
/* oklch */ color: oklch(35.8% 0.087 139.1);
Tailwind
colors: {
  custom: {
    50: '#617a56',
    500: '#224717',
    950: '#000000',
  },
}
SCSS
$custom: #224717;
$custom-light: #617a56;
$custom-dark: #000000;
JSON
{
  "hex": "#224717",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 106.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.08673,
    "h": 139.1
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#224717
secondary
#6F3C7E
accent
#4DDBBA
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050903
muted
#797B78

Preview Lab

Preview with #224717

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

Preview Lab → · Contrast checker → · Palette generator →

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