#22340F#22340F

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

Color values

HEX#22340F
RGBrgb(34, 52, 15)
HSLhsl(89, 55%, 13%)
HSVhsv(89, 71%, 20%)
CMYKcmyk(34.6%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.35, -14.94, 20.58)
CIE-LCHlch(19.35, 25.43, 125.99°)
OKLaboklab(29.97% -0.0419 0.0479)
OKLCHoklch(29.97% 0.064 131.2)
XYZxyz(1.9739, 2.8305, 0.8942)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22340F #210F34
analogous
#34330F #22340F #0F340F
triadic
#22340F #0F2234 #340F22
tetradic
#22340F #0F3433 #210F34 #340F0F
square
#22340F #0F3433 #210F34 #340F0F
split-complementary
#22340F #0F0F34 #330F34
monochromatic
#101807 #101807 #22340F #41631D #60932A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22340F#FFFFFF#000000##FFFFFF
##22340F1.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)
#37300B
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#23322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22340f;
/* rgb */ color: rgb(34, 52, 15);
/* oklch */ color: oklch(30.0% 0.064 131.2);
Tailwind
colors: {
  custom: {
    50: '#5e6b4f',
    500: '#22340f',
    950: '#000000',
  },
}
SCSS
$custom: #22340f;
$custom-light: #5e6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#22340f",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 89.189,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29966,
    "c": 0.06361,
    "h": 131.2
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#22340F
secondary
#4F316E
accent
#49DF92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #22340F

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

Preview Lab → · Contrast checker → · Palette generator →

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