#224708#224708

#224708 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.7% C 0.098 H 135.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#224708
RGBrgb(34, 71, 8)
HSLhsl(95, 80%, 15%)
HSVhsv(95, 89%, 28%)
CMYKcmyk(52.1%, 0%, 88.7%, 72.2%)
CIE-LABlab(26.34, -25.26, 30.95)
CIE-LCHlch(26.34, 39.95, 129.23°)
OKLaboklab(35.66% -0.0705 0.0685)
OKLCHoklch(35.66% 0.098 135.9)
XYZxyz(2.9567, 4.8639, 1.0127)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224708 #2D0847
analogous
#414708 #224708 #08470D
triadic
#224708 #082247 #470822
tetradic
#224708 #084147 #2D0847 #470D08
square
#224708 #084147 #2D0847 #470D08
split-complementary
#224708 #0D0847 #470841
monochromatic
#0D1C03 #0D1C03 #224708 #3C7E0E #57B514

Accessibility & contrast

On white

10.64
#224708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224708
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224708#FFFFFF#000000##FFFFFF
##2247081.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224708;
/* rgb */ color: rgb(34, 71, 8);
/* oklch */ color: oklch(35.7% 0.098 135.9);
Tailwind
colors: {
  custom: {
    50: '#627a4e',
    500: '#224708',
    950: '#000000',
  },
}
SCSS
$custom: #224708;
$custom-light: #627a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#224708",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 8
  },
  "hsl": {
    "h": 95.238,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35663,
    "c": 0.09828,
    "h": 135.9
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#224708
secondary
#5E2685
accent
#32F6A5
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #224708

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

Preview Lab → · Contrast checker → · Palette generator →

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