#224706#224706

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

Color values

HEX#224706
RGBrgb(34, 71, 6)
HSLhsl(94, 84%, 15%)
HSVhsv(94, 92%, 28%)
CMYKcmyk(52.1%, 0%, 91.5%, 72.2%)
CIE-LABlab(26.33, -25.40, 31.74)
CIE-LCHlch(26.33, 40.65, 128.68°)
OKLaboklab(35.65% -0.0711 0.0697)
OKLCHoklch(35.65% 0.1 135.6)
XYZxyz(2.9457, 4.8595, 0.9550)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224706 #2B0647
analogous
#424706 #224706 #06470B
triadic
#224706 #062247 #470622
tetradic
#224706 #064247 #2B0647 #470B06
square
#224706 #064247 #2B0647 #470B06
split-complementary
#224706 #0B0647 #470642
monochromatic
#0E1C02 #0E1C02 #224706 #3D7F0B #58B810

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##224706#FFFFFF#000000##FFFFFF
##2247061.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: #224706;
/* rgb */ color: rgb(34, 71, 6);
/* oklch */ color: oklch(35.6% 0.100 135.6);
Tailwind
colors: {
  custom: {
    50: '#627a4d',
    500: '#224706',
    950: '#000000',
  },
}
SCSS
$custom: #224706;
$custom-light: #627a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#224706",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 94.154,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35649,
    "c": 0.09953,
    "h": 135.6
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#224706
secondary
#5B2386
accent
#2DFBA2
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050901
muted
#7A7B77

Preview Lab

Preview with #224706

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

Preview Lab → · Contrast checker → · Palette generator →

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