#22310D#22310D

#22310D is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.061 H 128.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#22310D
RGBrgb(34, 49, 13)
HSLhsl(85, 58%, 12%)
HSVhsv(85, 73%, 19%)
CMYKcmyk(30.6%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.21, -13.44, 20.25)
CIE-LCHlch(18.21, 24.31, 123.58°)
OKLaboklab(29.04% -0.0379 0.0473)
OKLCHoklch(29.04% 0.061 128.8)
XYZxyz(1.8306, 2.5657, 0.7795)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22310D #1C0D31
analogous
#312E0D #22310D #10310D
triadic
#22310D #0D2231 #310D22
tetradic
#22310D #0D312E #1C0D31 #310D10
square
#22310D #0D312E #1C0D31 #310D10
split-complementary
#22310D #0D1031 #2E0D31
monochromatic
#111806 #111806 #22310D #44611A #659227

Accessibility & contrast

On white

13.88
#22310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#22310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22310D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22310D#FFFFFF#000000##FFFFFF
##22310D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D09
Deuteranopia (green-blind)
#322C10
Tritanopia (blue-blind)
#232F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22310d;
/* rgb */ color: rgb(34, 49, 13);
/* oklch */ color: oklch(29.0% 0.061 128.8);
Tailwind
colors: {
  custom: {
    50: '#5e694d',
    500: '#22310d',
    950: '#000000',
  },
}
SCSS
$custom: #22310d;
$custom-light: #5e694d;
$custom-dark: #000000;
JSON
{
  "hex": "#22310d",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 85,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29035,
    "c": 0.06062,
    "h": 128.8
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#22310D
secondary
#482E6C
accent
#47E187
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22310D

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

Preview Lab → · Contrast checker → · Palette generator →

#22310D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva