#22470E#22470E

#22470E is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.7% C 0.094 H 136.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#22470E
RGBrgb(34, 71, 14)
HSLhsl(99, 67%, 17%)
HSVhsv(99, 80%, 28%)
CMYKcmyk(52.1%, 0%, 80.3%, 72.2%)
CIE-LABlab(26.38, -24.82, 28.58)
CIE-LCHlch(26.38, 37.85, 130.97°)
OKLaboklab(35.71% -0.0689 0.0645)
OKLCHoklch(35.71% 0.094 136.9)
XYZxyz(2.9921, 4.8781, 1.1993)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22470E #330E47
analogous
#3F470E #22470E #0E4717
triadic
#22470E #0E2247 #470E22
tetradic
#22470E #0E3F47 #330E47 #47170E
square
#22470E #0E3F47 #330E47 #47170E
split-complementary
#22470E #170E47 #470E3F
monochromatic
#0C1A05 #0C1A05 #22470E #3A7A18 #53AD22

Accessibility & contrast

On white

10.63
#22470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#22470E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22470E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22470E#FFFFFF#000000##FFFFFF
##22470E1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4005
Deuteranopia (green-blind)
#453D14
Tritanopia (blue-blind)
#20443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22470e;
/* rgb */ color: rgb(34, 71, 14);
/* oklch */ color: oklch(35.7% 0.094 136.9);
Tailwind
colors: {
  custom: {
    50: '#617a51',
    500: '#22470e',
    950: '#000000',
  },
}
SCSS
$custom: #22470e;
$custom-light: #617a51;
$custom-dark: #000000;
JSON
{
  "hex": "#22470e",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 98.947,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3571,
    "c": 0.09438,
    "h": 136.9
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#22470E
secondary
#652F82
accent
#3EEAAE
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #22470E

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

Preview Lab → · Contrast checker → · Palette generator →

#22470E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva