#224004#224004

#224004 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.091 H 133.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#224004
RGBrgb(34, 64, 4)
HSLhsl(90, 88%, 13%)
HSVhsv(90, 94%, 25%)
CMYKcmyk(46.9%, 0%, 93.8%, 74.9%)
CIE-LABlab(23.72, -22.22, 30.07)
CIE-LCHlch(23.72, 37.39, 126.47°)
OKLaboklab(33.5% -0.0627 0.0662)
OKLCHoklch(33.5% 0.091 133.5)
XYZxyz(2.5150, 4.0155, 0.7574)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224004 #220440
analogous
#404004 #224004 #044004
triadic
#224004 #042240 #400422
tetradic
#224004 #044040 #220440 #400404
square
#224004 #044040 #220440 #400404
split-complementary
#224004 #040440 #400440
monochromatic
#0F1D02 #0F1D02 #224004 #417A08 #5FB30B

Accessibility & contrast

On white

11.65
#224004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#224004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224004
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224004#FFFFFF#000000##FFFFFF
##2240041.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3F380B
Tritanopia (blue-blind)
#223D35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #224004;
/* rgb */ color: rgb(34, 64, 4);
/* oklch */ color: oklch(33.5% 0.091 133.5);
Tailwind
colors: {
  custom: {
    50: '#61754a',
    500: '#224004',
    950: '#000000',
  },
}
SCSS
$custom: #224004;
$custom-light: #61754a;
$custom-dark: #000000;
JSON
{
  "hex": "#224004",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 90,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33503,
    "c": 0.09116,
    "h": 133.5
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#224004
secondary
#501F81
accent
#29FE94
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #224004

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

Preview Lab → · Contrast checker → · Palette generator →

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