#224817#224817

#224817 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.1% C 0.088 H 139.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#224817
RGBrgb(34, 72, 23)
HSLhsl(107, 52%, 19%)
HSVhsv(107, 68%, 28%)
CMYKcmyk(52.8%, 0%, 68.1%, 71.8%)
CIE-LABlab(26.84, -24.36, 24.69)
CIE-LCHlch(26.84, 34.68, 134.61°)
OKLaboklab(36.11% -0.0669 0.0576)
OKLCHoklch(36.11% 0.088 139.3)
XYZxyz(3.1316, 5.0365, 1.6176)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224817 #3D1748
analogous
#3A4817 #224817 #174824
triadic
#224817 #172248 #481722
tetradic
#224817 #173A48 #3D1748 #482417
square
#224817 #173A48 #3D1748 #482417
split-complementary
#224817 #241748 #48173A
monochromatic
#0B1707 #0C1A08 #224817 #387626 #4EA535

Accessibility & contrast

On white

10.46
#224817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#224817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224817
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224817#FFFFFF#000000##FFFFFF
##2248171.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4112
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#1F453E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #224817;
/* rgb */ color: rgb(34, 72, 23);
/* oklch */ color: oklch(36.1% 0.088 139.3);
Tailwind
colors: {
  custom: {
    50: '#617b56',
    500: '#224817',
    950: '#000000',
  },
}
SCSS
$custom: #224817;
$custom-light: #617b56;
$custom-dark: #000000;
JSON
{
  "hex": "#224817",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 106.531,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.0883,
    "h": 139.3
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#224817
secondary
#703C7F
accent
#4DDBBB
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050903
muted
#797B78

Preview Lab

Preview with #224817

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

Preview Lab → · Contrast checker → · Palette generator →

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