#224312#224312

#224312 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.5% C 0.085 H 137.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#224312
RGBrgb(34, 67, 18)
HSLhsl(100, 58%, 17%)
HSVhsv(100, 73%, 26%)
CMYKcmyk(49.3%, 0%, 73.1%, 73.7%)
CIE-LABlab(24.95, -22.51, 25.18)
CIE-LCHlch(24.95, 33.78, 131.80°)
OKLaboklab(34.54% -0.0623 0.058)
OKLCHoklch(34.54% 0.085 137)
XYZxyz(2.7759, 4.3979, 1.2748)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224312 #331243
analogous
#3B4312 #224312 #12431B
triadic
#224312 #122243 #431222
tetradic
#224312 #123B43 #331243 #431B12
square
#224312 #123B43 #331243 #431B12
split-complementary
#224312 #1B1243 #43123B
monochromatic
#0C1806 #0C1806 #224312 #3A731F #53A32C

Accessibility & contrast

On white

11.17
#224312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#224312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224312
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224312#FFFFFF#000000##FFFFFF
##2243121.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0C
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#204039
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #224312;
/* rgb */ color: rgb(34, 67, 18);
/* oklch */ color: oklch(34.5% 0.085 137.0);
Tailwind
colors: {
  custom: {
    50: '#607752',
    500: '#224312',
    950: '#000000',
  },
}
SCSS
$custom: #224312;
$custom-light: #607752;
$custom-dark: #000000;
JSON
{
  "hex": "#224312",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 100.408,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34541,
    "c": 0.08512,
    "h": 137
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#224312
secondary
#65357C
accent
#47E1AF
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #224312

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

Preview Lab → · Contrast checker → · Palette generator →

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