#22310C#22310C

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

Color values

HEX#22310C
RGBrgb(34, 49, 12)
HSLhsl(84, 61%, 12%)
HSVhsv(84, 76%, 19%)
CMYKcmyk(30.6%, 0%, 75.5%, 80.8%)
CIE-LABlab(18.20, -13.55, 20.71)
CIE-LCHlch(18.20, 24.75, 123.20°)
OKLaboklab(29.02% -0.0383 0.0483)
OKLCHoklch(29.02% 0.062 128.5)
XYZxyz(1.8244, 2.5632, 0.7464)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22310C #1B0C31
analogous
#312E0C #22310C #10310C
triadic
#22310C #0C2231 #310C22
tetradic
#22310C #0C312E #1B0C31 #310C10
square
#22310C #0C312E #1B0C31 #310C10
split-complementary
#22310C #0C1031 #2E0C31
monochromatic
#111906 #111906 #22310C #446218 #669324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22310C#FFFFFF#000000##FFFFFF
##22310C1.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)
#342D08
Deuteranopia (green-blind)
#322C0F
Tritanopia (blue-blind)
#232F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22310c;
/* rgb */ color: rgb(34, 49, 12);
/* oklch */ color: oklch(29.0% 0.062 128.5);
Tailwind
colors: {
  custom: {
    50: '#5e694d',
    500: '#22310c',
    950: '#000000',
  },
}
SCSS
$custom: #22310c;
$custom-light: #5e694d;
$custom-dark: #000000;
JSON
{
  "hex": "#22310c",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 84.324,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29023,
    "c": 0.06163,
    "h": 128.5
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#22310C
secondary
#462C6D
accent
#44E485
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #22310C

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

Preview Lab → · Contrast checker → · Palette generator →

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