#224E0C#224E0C

#224E0C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.106 H 137.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#224E0C
RGBrgb(34, 78, 12)
HSLhsl(100, 73%, 18%)
HSVhsv(100, 85%, 31%)
CMYKcmyk(56.4%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.94, -28.16, 31.91)
CIE-LCHlch(28.94, 42.56, 131.42°)
OKLaboklab(37.81% -0.078 0.0712)
OKLCHoklch(37.81% 0.106 137.6)
XYZxyz(3.4503, 5.8151, 1.2884)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224E0C #380C4E
analogous
#434E0C #224E0C #0C4E17
triadic
#224E0C #0C224E #4E0C22
tetradic
#224E0C #0C434E #380C4E #4E170C
square
#224E0C #0C434E #380C4E #4E170C
split-complementary
#224E0C #170C4E #4E0C43
monochromatic
#0C1B04 #0C1B04 #224E0C #398314 #50B81C

Accessibility & contrast

On white

9.71
#224E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#224E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224E0C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224E0C#FFFFFF#000000##FFFFFF
##224E0C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#1F4B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #224e0c;
/* rgb */ color: rgb(34, 78, 12);
/* oklch */ color: oklch(37.8% 0.106 137.6);
Tailwind
colors: {
  custom: {
    50: '#638051',
    500: '#224e0c',
    950: '#000000',
  },
}
SCSS
$custom: #224e0c;
$custom-light: #638051;
$custom-dark: #000000;
JSON
{
  "hex": "#224e0c",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 100,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.1056,
    "h": 137.6
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#224E0C
secondary
#6A2C8A
accent
#38F0B3
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #224E0C

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

Preview Lab → · Contrast checker → · Palette generator →

#224E0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva