#224F12#224F12

#224F12 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.103 H 138.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#224F12
RGBrgb(34, 79, 18)
HSLhsl(104, 63%, 19%)
HSVhsv(104, 77%, 31%)
CMYKcmyk(57%, 0%, 77.2%, 69%)
CIE-LABlab(29.35, -28.11, 29.85)
CIE-LCHlch(29.35, 41.00, 133.28°)
OKLaboklab(38.16% -0.0775 0.0678)
OKLCHoklch(38.16% 0.103 138.8)
XYZxyz(3.5647, 5.9754, 1.5377)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F12 #3F124F
analogous
#414F12 #224F12 #124F21
triadic
#224F12 #12224F #4F1222
tetradic
#224F12 #12414F #3F124F #4F2112
square
#224F12 #12414F #3F124F #4F2112
split-complementary
#224F12 #21124F #4F1241
monochromatic
#0B1906 #0D1D07 #224F12 #37811D #4DB329

Accessibility & contrast

On white

9.57
#224F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#224F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F12
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F12#FFFFFF#000000##FFFFFF
##224F121.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#1E4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224f12;
/* rgb */ color: rgb(34, 79, 18);
/* oklch */ color: oklch(38.2% 0.103 138.8);
Tailwind
colors: {
  custom: {
    50: '#638154',
    500: '#224f12',
    950: '#000000',
  },
}
SCSS
$custom: #224f12;
$custom-light: #638154;
$custom-dark: #000000;
JSON
{
  "hex": "#224f12",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 104.262,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.10296,
    "h": 138.8
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#224F12
secondary
#723588
accent
#42E6BB
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #224F12

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

Preview Lab → · Contrast checker → · Palette generator →

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