#22370F#22370F

#22370F is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.9% C 0.069 H 132.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#22370F
RGBrgb(34, 55, 15)
HSLhsl(92, 57%, 14%)
HSVhsv(92, 73%, 22%)
CMYKcmyk(38.2%, 0%, 72.7%, 78.4%)
CIE-LABlab(20.47, -16.61, 21.84)
CIE-LCHlch(20.47, 27.44, 127.26°)
OKLaboklab(30.87% -0.0465 0.0505)
OKLCHoklch(30.87% 0.069 132.6)
XYZxyz(2.1121, 3.1069, 0.9402)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22370F #240F37
analogous
#36370F #22370F #0F3710
triadic
#22370F #0F2237 #370F22
tetradic
#22370F #0F3637 #240F37 #37100F
square
#22370F #0F3637 #240F37 #37100F
split-complementary
#22370F #100F37 #370F36
monochromatic
#0F1807 #0F1807 #22370F #40671C #5D9729

Accessibility & contrast

On white

12.95
#22370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#22370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22370F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22370F#FFFFFF#000000##FFFFFF
##22370F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A320A
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#22352F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #22370f;
/* rgb */ color: rgb(34, 55, 15);
/* oklch */ color: oklch(30.9% 0.069 132.6);
Tailwind
colors: {
  custom: {
    50: '#5f6e4f',
    500: '#22370f',
    950: '#000000',
  },
}
SCSS
$custom: #22370f;
$custom-light: #5f6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#22370f",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 91.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.06864,
    "h": 132.6
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#22370F
secondary
#533171
accent
#47E098
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050702
muted
#797A78

Preview Lab

Preview with #22370F

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

Preview Lab → · Contrast checker → · Palette generator →

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