#22380B#22380B

#22380B is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.074 H 132.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#22380B
RGBrgb(34, 56, 11)
HSLhsl(89, 67%, 13%)
HSVhsv(89, 80%, 22%)
CMYKcmyk(39.3%, 0%, 80.4%, 78%)
CIE-LABlab(20.80, -17.56, 24.13)
CIE-LCHlch(20.80, 29.84, 126.04°)
OKLaboklab(31.13% -0.0494 0.055)
OKLCHoklch(31.13% 0.074 132)
XYZxyz(2.1342, 3.1925, 0.8203)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22380B #210B38
analogous
#38370B #22380B #0C380B
triadic
#22380B #0B2238 #380B22
tetradic
#22380B #0B3837 #210B38 #380B0C
square
#22380B #0B3837 #210B38 #380B0C
split-complementary
#22380B #0B0C38 #370B38
monochromatic
#101A05 #101A05 #22380B #416B15 #609E1F

Accessibility & contrast

On white

12.82
#22380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#22380B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22380B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22380B#FFFFFF#000000##FFFFFF
##22380B1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3305
Deuteranopia (green-blind)
#38310F
Tritanopia (blue-blind)
#23352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22380b;
/* rgb */ color: rgb(34, 56, 11);
/* oklch */ color: oklch(31.1% 0.074 132.0);
Tailwind
colors: {
  custom: {
    50: '#5f6e4d',
    500: '#22380b',
    950: '#000000',
  },
}
SCSS
$custom: #22380b;
$custom-light: #5f6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#22380b",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 89.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3113,
    "c": 0.07392,
    "h": 132
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#22380B
secondary
#4F2A75
accent
#3EEA92
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #22380B

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

Preview Lab → · Contrast checker → · Palette generator →

#22380B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva