#22310F#22310F

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

Color values

HEX#22310F
RGBrgb(34, 49, 15)
HSLhsl(86, 53%, 13%)
HSVhsv(86, 69%, 19%)
CMYKcmyk(30.6%, 0%, 69.4%, 80.8%)
CIE-LABlab(18.24, -13.22, 19.27)
CIE-LCHlch(18.24, 23.37, 124.45°)
OKLaboklab(29.06% -0.0371 0.0452)
OKLCHoklch(29.06% 0.058 129.4)
XYZxyz(1.8442, 2.5712, 0.8510)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22310F #1E0F31
analogous
#312F0F #22310F #11310F
triadic
#22310F #0F2231 #310F22
tetradic
#22310F #0F312F #1E0F31 #310F11
square
#22310F #0F312F #1E0F31 #310F11
split-complementary
#22310F #0F1131 #2F0F31
monochromatic
#101707 #101707 #22310F #43601D #638F2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22310F#FFFFFF#000000##FFFFFF
##22310F1.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)
#342D0B
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#232F2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22310f;
/* rgb */ color: rgb(34, 49, 15);
/* oklch */ color: oklch(29.1% 0.058 129.4);
Tailwind
colors: {
  custom: {
    50: '#5e694e',
    500: '#22310f',
    950: '#000000',
  },
}
SCSS
$custom: #22310f;
$custom-light: #5e694e;
$custom-dark: #000000;
JSON
{
  "hex": "#22310f",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 86.471,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29062,
    "c": 0.05847,
    "h": 129.4
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#22310F
secondary
#4A316B
accent
#4BDD8B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #22310F

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

Preview Lab → · Contrast checker → · Palette generator →

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