#22340E#22340E

#22340E is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.065 H 130.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#22340E
RGBrgb(34, 52, 14)
HSLhsl(88, 58%, 13%)
HSVhsv(88, 73%, 20%)
CMYKcmyk(34.6%, 0%, 73.1%, 79.6%)
CIE-LABlab(19.34, -15.06, 21.08)
CIE-LCHlch(19.34, 25.90, 125.54°)
OKLaboklab(29.95% -0.0423 0.0489)
OKLCHoklch(29.95% 0.065 130.9)
XYZxyz(1.9669, 2.8277, 0.8576)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22340E #200E34
analogous
#34330E #22340E #0F340E
triadic
#22340E #0E2234 #340E22
tetradic
#22340E #0E3433 #200E34 #340E0F
square
#22340E #0E3433 #200E34 #340E0F
split-complementary
#22340E #0E0F34 #330E34
monochromatic
#101806 #101806 #22340E #42641B #619428

Accessibility & contrast

On white

13.41
#22340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#22340E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22340E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22340E#FFFFFF#000000##FFFFFF
##22340E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300A
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#23322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22340e;
/* rgb */ color: rgb(34, 52, 14);
/* oklch */ color: oklch(30.0% 0.065 130.9);
Tailwind
colors: {
  custom: {
    50: '#5f6b4e',
    500: '#22340e',
    950: '#000000',
  },
}
SCSS
$custom: #22340e;
$custom-light: #5f6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#22340e",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 88.421,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.06464,
    "h": 130.9
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#22340E
secondary
#4D2F6F
accent
#47E190
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22340E

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

Preview Lab → · Contrast checker → · Palette generator →

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