#224F0C#224F0C

#224F0C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.107 H 137.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#224F0C
RGBrgb(34, 79, 12)
HSLhsl(100, 74%, 18%)
HSVhsv(100, 85%, 31%)
CMYKcmyk(57%, 0%, 84.8%, 69%)
CIE-LABlab(29.31, -28.60, 32.26)
CIE-LCHlch(29.31, 43.11, 131.55°)
OKLaboklab(38.11% -0.0792 0.0719)
OKLCHoklch(38.11% 0.107 137.8)
XYZxyz(3.5219, 5.9583, 1.3122)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F0C #390C4F
analogous
#434F0C #224F0C #0C4F18
triadic
#224F0C #0C224F #4F0C22
tetradic
#224F0C #0C434F #390C4F #4F180C
square
#224F0C #0C434F #390C4F #4F180C
split-complementary
#224F0C #180C4F #4F0C43
monochromatic
#0B1B04 #0B1B04 #224F0C #398414 #50B91C

Accessibility & contrast

On white

9.58
#224F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#224F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F0C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F0C#FFFFFF#000000##FFFFFF
##224F0C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#1F4C42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224f0c;
/* rgb */ color: rgb(34, 79, 12);
/* oklch */ color: oklch(38.1% 0.107 137.8);
Tailwind
colors: {
  custom: {
    50: '#638151',
    500: '#224f0c',
    950: '#000000',
  },
}
SCSS
$custom: #224f0c;
$custom-light: #638151;
$custom-dark: #000000;
JSON
{
  "hex": "#224f0c",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 100.299,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.10697,
    "h": 137.8
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#224F0C
secondary
#6C2C8B
accent
#38F0B4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #224F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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