#22310E#22310E

#22310E is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.060 H 129.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#22310E
RGBrgb(34, 49, 14)
HSLhsl(86, 56%, 12%)
HSVhsv(86, 71%, 19%)
CMYKcmyk(30.6%, 0%, 71.4%, 80.8%)
CIE-LABlab(18.23, -13.33, 19.78)
CIE-LCHlch(18.23, 23.85, 123.99°)
OKLaboklab(29.05% -0.0375 0.0463)
OKLCHoklch(29.05% 0.06 129.1)
XYZxyz(1.8373, 2.5684, 0.8143)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22310E #1D0E31
analogous
#312F0E #22310E #11310E
triadic
#22310E #0E2231 #310E22
tetradic
#22310E #0E312F #1D0E31 #310E11
square
#22310E #0E312F #1D0E31 #310E11
split-complementary
#22310E #0E1131 #2F0E31
monochromatic
#111807 #111807 #22310E #43611C #649029

Accessibility & contrast

On white

13.87
#22310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22310E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22310E#FFFFFF#000000##FFFFFF
##22310E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22310e;
/* rgb */ color: rgb(34, 49, 14);
/* oklch */ color: oklch(29.0% 0.060 129.1);
Tailwind
colors: {
  custom: {
    50: '#5e694e',
    500: '#22310e',
    950: '#000000',
  },
}
SCSS
$custom: #22310e;
$custom-light: #5e694e;
$custom-dark: #000000;
JSON
{
  "hex": "#22310e",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 85.714,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.05957,
    "h": 129.1
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#22310E
secondary
#492F6C
accent
#49DF89
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22310E

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

Preview Lab → · Contrast checker → · Palette generator →

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