#224217#224217

#224217 is a dark, moderate green. Relative luminance 0.043; OKLCH L 34.3% C 0.079 H 138.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#224217
RGBrgb(34, 66, 23)
HSLhsl(105, 48%, 17%)
HSVhsv(105, 65%, 26%)
CMYKcmyk(48.5%, 0%, 65.2%, 74.1%)
CIE-LABlab(24.63, -21.42, 22.17)
CIE-LCHlch(24.63, 30.83, 134.01°)
OKLaboklab(34.3% -0.0589 0.0522)
OKLCHoklch(34.3% 0.079 138.4)
XYZxyz(2.7625, 4.2982, 1.4945)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224217 #371742
analogous
#384217 #224217 #174221
triadic
#224217 #172242 #421722
tetradic
#224217 #173842 #371742 #422117
square
#224217 #173842 #371742 #422117
split-complementary
#224217 #211742 #421738
monochromatic
#0C1708 #0C1708 #224217 #396F27 #519D37

Accessibility & contrast

On white

11.29
#224217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#224217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224217
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224217#FFFFFF#000000##FFFFFF
##2242171.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#40391A
Tritanopia (blue-blind)
#204039
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #224217;
/* rgb */ color: rgb(34, 66, 23);
/* oklch */ color: oklch(34.3% 0.079 138.4);
Tailwind
colors: {
  custom: {
    50: '#607655',
    500: '#224217',
    950: '#000000',
  },
}
SCSS
$custom: #224217;
$custom-light: #607655;
$custom-dark: #000000;
JSON
{
  "hex": "#224217",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 104.651,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.34304,
    "c": 0.07871,
    "h": 138.4
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#224217
secondary
#693C79
accent
#50D8B5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#050803
muted
#797B78

Preview Lab

Preview with #224217

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

Preview Lab → · Contrast checker → · Palette generator →

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