#224512#224512

#224512 is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.1% C 0.088 H 137.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#224512
RGBrgb(34, 69, 18)
HSLhsl(101, 59%, 17%)
HSVhsv(101, 74%, 27%)
CMYKcmyk(50.7%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.68, -23.48, 25.98)
CIE-LCHlch(25.68, 35.02, 132.11°)
OKLaboklab(35.14% -0.0649 0.0597)
OKLCHoklch(35.14% 0.088 137.4)
XYZxyz(2.8969, 4.6398, 1.3151)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224512 #351245
analogous
#3C4512 #224512 #12451B
triadic
#224512 #122245 #451222
tetradic
#224512 #123C45 #351245 #451B12
square
#224512 #123C45 #351245 #451B12
split-complementary
#224512 #1B1245 #45123C
monochromatic
#0C1806 #0C1806 #224512 #3A761F #52A62B

Accessibility & contrast

On white

10.89
#224512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#224512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224512
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224512#FFFFFF#000000##FFFFFF
##2245121.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F0B
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#20423B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #224512;
/* rgb */ color: rgb(34, 69, 18);
/* oklch */ color: oklch(35.1% 0.088 137.4);
Tailwind
colors: {
  custom: {
    50: '#617953',
    500: '#224512',
    950: '#000000',
  },
}
SCSS
$custom: #224512;
$custom-light: #617953;
$custom-dark: #000000;
JSON
{
  "hex": "#224512",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 101.176,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.0882,
    "h": 137.4
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#224512
secondary
#67357E
accent
#46E2B1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #224512

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

Preview Lab → · Contrast checker → · Palette generator →

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