#22340B#22340B

#22340B is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.068 H 130.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#22340B
RGBrgb(34, 52, 11)
HSLhsl(86, 65%, 12%)
HSVhsv(86, 79%, 20%)
CMYKcmyk(34.6%, 0%, 78.8%, 79.6%)
CIE-LABlab(19.31, -15.36, 22.45)
CIE-LCHlch(19.31, 27.20, 124.38°)
OKLaboklab(29.92% -0.0434 0.0517)
OKLCHoklch(29.92% 0.068 130)
XYZxyz(1.9481, 2.8202, 0.7583)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22340B #1D0B34
analogous
#34310B #22340B #0E340B
triadic
#22340B #0B2234 #340B22
tetradic
#22340B #0B3431 #1D0B34 #340B0E
square
#22340B #0B3431 #1D0B34 #340B0E
split-complementary
#22340B #0B0E34 #310B34
monochromatic
#111905 #111905 #22340B #436716 #649920

Accessibility & contrast

On white

13.43
#22340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#22340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22340B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22340B#FFFFFF#000000##FFFFFF
##22340B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#23312C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22340b;
/* rgb */ color: rgb(34, 52, 11);
/* oklch */ color: oklch(29.9% 0.068 130.0);
Tailwind
colors: {
  custom: {
    50: '#5f6b4c',
    500: '#22340b',
    950: '#000000',
  },
}
SCSS
$custom: #22340b;
$custom-light: #5f6b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#22340b",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 86.341,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29918,
    "c": 0.06751,
    "h": 130
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#22340B
secondary
#492A71
accent
#40E88A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22340B

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

Preview Lab → · Contrast checker → · Palette generator →

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