#224704#224704

#224704 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.6% C 0.101 H 135.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#224704
RGBrgb(34, 71, 4)
HSLhsl(93, 89%, 15%)
HSVhsv(93, 94%, 28%)
CMYKcmyk(52.1%, 0%, 94.4%, 72.2%)
CIE-LABlab(26.32, -25.54, 32.54)
CIE-LCHlch(26.32, 41.37, 128.13°)
OKLaboklab(35.63% -0.0716 0.071)
OKLCHoklch(35.63% 0.101 135.3)
XYZxyz(2.9348, 4.8551, 0.8973)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224704 #290447
analogous
#444704 #224704 #044707
triadic
#224704 #042247 #470422
tetradic
#224704 #044447 #290447 #470704
square
#224704 #044447 #290447 #470704
split-complementary
#224704 #070447 #470444
monochromatic
#0E1D02 #0E1D02 #224704 #3E8107 #59BB0B

Accessibility & contrast

On white

10.65
#224704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#224704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224704
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224704#FFFFFF#000000##FFFFFF
##2247041.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#453D0C
Tritanopia (blue-blind)
#21443B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #224704;
/* rgb */ color: rgb(34, 71, 4);
/* oklch */ color: oklch(35.6% 0.101 135.3);
Tailwind
colors: {
  custom: {
    50: '#627a4c',
    500: '#224704',
    950: '#000000',
  },
}
SCSS
$custom: #224704;
$custom-light: #627a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#224704",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 4
  },
  "hsl": {
    "h": 93.134,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35634,
    "c": 0.1008,
    "h": 135.3
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#224704
secondary
#591F88
accent
#29FF9F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050901
muted
#7A7B77

Preview Lab

Preview with #224704

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

Preview Lab → · Contrast checker → · Palette generator →

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