#22310A#22310A

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

Color values

HEX#22310A
RGBrgb(34, 49, 10)
HSLhsl(83, 66%, 12%)
HSVhsv(83, 80%, 19%)
CMYKcmyk(30.6%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.18, -13.74, 21.54)
CIE-LCHlch(18.18, 25.55, 122.54°)
OKLaboklab(29% -0.0391 0.0501)
OKLCHoklch(29% 0.064 128)
XYZxyz(1.8128, 2.5586, 0.6854)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22310A #190A31
analogous
#312D0A #22310A #0F310A
triadic
#22310A #0A2231 #310A22
tetradic
#22310A #0A312D #190A31 #310A0F
square
#22310A #0A312D #190A31 #310A0F
split-complementary
#22310A #0A0F31 #2D0A31
monochromatic
#121905 #121905 #22310A #456414 #69971F

Accessibility & contrast

On white

13.89
#22310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22310A
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22310A#FFFFFF#000000##FFFFFF
##22310A1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#232E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22310a;
/* rgb */ color: rgb(34, 49, 10);
/* oklch */ color: oklch(29.0% 0.064 128.0);
Tailwind
colors: {
  custom: {
    50: '#5e694c',
    500: '#22310a',
    950: '#000000',
  },
}
SCSS
$custom: #22310a;
$custom-light: #5e694c;
$custom-dark: #000000;
JSON
{
  "hex": "#22310a",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 83.077,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28999,
    "c": 0.06355,
    "h": 128
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#22310A
secondary
#43296E
accent
#3FE980
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22310A

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

Preview Lab → · Contrast checker → · Palette generator →

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