#224707#224707

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

Color values

HEX#224707
RGBrgb(34, 71, 7)
HSLhsl(95, 82%, 15%)
HSVhsv(95, 90%, 28%)
CMYKcmyk(52.1%, 0%, 90.1%, 72.2%)
CIE-LABlab(26.34, -25.33, 31.34)
CIE-LCHlch(26.34, 40.30, 128.95°)
OKLaboklab(35.66% -0.0708 0.0691)
OKLCHoklch(35.66% 0.099 135.7)
XYZxyz(2.9512, 4.8617, 0.9839)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224707 #2C0747
analogous
#424707 #224707 #07470C
triadic
#224707 #072247 #470722
tetradic
#224707 #074247 #2C0747 #470C07
square
#224707 #074247 #2C0747 #470C07
split-complementary
#224707 #0C0747 #470742
monochromatic
#0D1C03 #0D1C03 #224707 #3D7F0C #57B612

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##224707#FFFFFF#000000##FFFFFF
##2247071.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)
#453D0E
Tritanopia (blue-blind)
#21443B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #224707;
/* rgb */ color: rgb(34, 71, 7);
/* oklch */ color: oklch(35.7% 0.099 135.7);
Tailwind
colors: {
  custom: {
    50: '#627a4d',
    500: '#224707',
    950: '#000000',
  },
}
SCSS
$custom: #224707;
$custom-light: #627a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#224707",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 7
  },
  "hsl": {
    "h": 94.688,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.0989,
    "h": 135.7
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#224707
secondary
#5D2486
accent
#2FF8A4
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050901
muted
#7A7B77

Preview Lab

Preview with #224707

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

Preview Lab → · Contrast checker → · Palette generator →

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