#22340C#22340C

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

Color values

HEX#22340C
RGBrgb(34, 52, 12)
HSLhsl(87, 63%, 13%)
HSVhsv(87, 77%, 20%)
CMYKcmyk(34.6%, 0%, 76.9%, 79.6%)
CIE-LABlab(19.32, -15.26, 22.01)
CIE-LCHlch(19.32, 26.79, 124.74°)
OKLaboklab(29.93% -0.0431 0.0508)
OKLCHoklch(29.93% 0.067 130.3)
XYZxyz(1.9540, 2.8226, 0.7896)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22340C #1E0C34
analogous
#34320C #22340C #0E340C
triadic
#22340C #0C2234 #340C22
tetradic
#22340C #0C3432 #1E0C34 #340C0E
square
#22340C #0C3432 #1E0C34 #340C0E
split-complementary
#22340C #0C0E34 #320C34
monochromatic
#101906 #101906 #22340C #436617 #639723

Accessibility & contrast

On white

13.42
#22340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22340C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22340C#FFFFFF#000000##FFFFFF
##22340C1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22340c;
/* rgb */ color: rgb(34, 52, 12);
/* oklch */ color: oklch(29.9% 0.067 130.3);
Tailwind
colors: {
  custom: {
    50: '#5f6b4d',
    500: '#22340c',
    950: '#000000',
  },
}
SCSS
$custom: #22340c;
$custom-light: #5f6b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#22340c",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 87,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29929,
    "c": 0.06659,
    "h": 130.3
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#22340C
secondary
#4A2C70
accent
#42E68C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22340C

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

Preview Lab → · Contrast checker → · Palette generator →

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