#22470C#22470C

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

Color values

HEX#22470C
RGBrgb(34, 71, 12)
HSLhsl(98, 71%, 16%)
HSVhsv(98, 83%, 28%)
CMYKcmyk(52.1%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.37, -24.98, 29.41)
CIE-LCHlch(26.37, 38.59, 130.34°)
OKLaboklab(35.69% -0.0694 0.0659)
OKLCHoklch(35.69% 0.096 136.5)
XYZxyz(2.9792, 4.8729, 1.1313)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22470C #310C47
analogous
#40470C #22470C #0C4714
triadic
#22470C #0C2247 #470C22
tetradic
#22470C #0C4047 #310C47 #47140C
square
#22470C #0C4047 #310C47 #47140C
split-complementary
#22470C #140C47 #470C40
monochromatic
#0D1A04 #0D1A04 #22470C #3B7B15 #54B01E

Accessibility & contrast

On white

10.64
#22470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#22470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22470C#FFFFFF#000000##FFFFFF
##22470C1.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)
#4A4003
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#20443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22470c;
/* rgb */ color: rgb(34, 71, 12);
/* oklch */ color: oklch(35.7% 0.096 136.5);
Tailwind
colors: {
  custom: {
    50: '#617a50',
    500: '#22470c',
    950: '#000000',
  },
}
SCSS
$custom: #22470c;
$custom-light: #617a50;
$custom-dark: #000000;
JSON
{
  "hex": "#22470c",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 97.627,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35693,
    "c": 0.09577,
    "h": 136.5
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#22470C
secondary
#622C83
accent
#3AEEAB
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #22470C

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

Preview Lab → · Contrast checker → · Palette generator →

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