#22470F#22470F

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

Color values

HEX#22470F
RGBrgb(34, 71, 15)
HSLhsl(100, 65%, 17%)
HSVhsv(100, 79%, 28%)
CMYKcmyk(52.1%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.39, -24.73, 28.14)
CIE-LCHlch(26.39, 37.46, 131.30°)
OKLaboklab(35.72% -0.0685 0.0638)
OKLCHoklch(35.72% 0.094 137.1)
XYZxyz(2.9991, 4.8809, 1.2359)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22470F #340F47
analogous
#3E470F #22470F #0F4718
triadic
#22470F #0F2247 #470F22
tetradic
#22470F #0F3E47 #340F47 #47180F
square
#22470F #0F3E47 #340F47 #47180F
split-complementary
#22470F #180F47 #470F3E
monochromatic
#0C1905 #0C1905 #22470F #3A7A1A #52AC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22470f;
/* rgb */ color: rgb(34, 71, 15);
/* oklch */ color: oklch(35.7% 0.094 137.1);
Tailwind
colors: {
  custom: {
    50: '#617a51',
    500: '#22470f',
    950: '#000000',
  },
}
SCSS
$custom: #22470f;
$custom-light: #617a51;
$custom-dark: #000000;
JSON
{
  "hex": "#22470f",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 99.643,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35719,
    "c": 0.09363,
    "h": 137.1
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#22470F
secondary
#663081
accent
#40E8AF
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #22470F

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

Preview Lab → · Contrast checker → · Palette generator →

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