#224C0C#224C0C

#224C0C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.103 H 137.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#224C0C
RGBrgb(34, 76, 12)
HSLhsl(99, 73%, 17%)
HSVhsv(99, 84%, 30%)
CMYKcmyk(55.3%, 0%, 84.2%, 70.2%)
CIE-LABlab(28.21, -27.27, 31.20)
CIE-LCHlch(28.21, 41.44, 131.15°)
OKLaboklab(37.21% -0.0756 0.0697)
OKLCHoklch(37.21% 0.103 137.3)
XYZxyz(3.3104, 5.5353, 1.2417)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224C0C #360C4C
analogous
#424C0C #224C0C #0C4C16
triadic
#224C0C #0C224C #4C0C22
tetradic
#224C0C #0C424C #360C4C #4C160C
square
#224C0C #0C424C #360C4C #4C160C
split-complementary
#224C0C #160C4C #4C0C42
monochromatic
#0C1A04 #0C1A04 #224C0C #3A8114 #51B61D

Accessibility & contrast

On white

9.97
#224C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#224C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224C0C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224C0C#FFFFFF#000000##FFFFFF
##224C0C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#1F4940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #224c0c;
/* rgb */ color: rgb(34, 76, 12);
/* oklch */ color: oklch(37.2% 0.103 137.3);
Tailwind
colors: {
  custom: {
    50: '#627e50',
    500: '#224c0c',
    950: '#000000',
  },
}
SCSS
$custom: #224c0c;
$custom-light: #627e50;
$custom-dark: #000000;
JSON
{
  "hex": "#224c0c",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 99.375,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37205,
    "c": 0.10284,
    "h": 137.3
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#224C0C
secondary
#682C88
accent
#38EFB1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #224C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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