#22470B#22470B

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

Color values

HEX#22470B
RGBrgb(34, 71, 11)
HSLhsl(97, 73%, 16%)
HSVhsv(97, 85%, 28%)
CMYKcmyk(52.1%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.36, -25.05, 29.80)
CIE-LCHlch(26.36, 38.94, 130.05°)
OKLaboklab(35.69% -0.0697 0.0666)
OKLCHoklch(35.69% 0.096 136.3)
XYZxyz(2.9732, 4.8705, 1.1000)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22470B #300B47
analogous
#40470B #22470B #0B4712
triadic
#22470B #0B2247 #470B22
tetradic
#22470B #0B4047 #300B47 #47120B
square
#22470B #0B4047 #300B47 #47120B
split-complementary
#22470B #120B47 #470B40
monochromatic
#0D1A04 #0D1A04 #22470B #3B7C13 #55B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22470b;
/* rgb */ color: rgb(34, 71, 11);
/* oklch */ color: oklch(35.7% 0.096 136.3);
Tailwind
colors: {
  custom: {
    50: '#627a4f',
    500: '#22470b',
    950: '#000000',
  },
}
SCSS
$custom: #22470b;
$custom-light: #627a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#22470b",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 97,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.09643,
    "h": 136.3
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#22470B
secondary
#612A83
accent
#38F0A9
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #22470B

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

Preview Lab → · Contrast checker → · Palette generator →

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