#22380C#22380C

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

Color values

HEX#22380C
RGBrgb(34, 56, 12)
HSLhsl(90, 65%, 13%)
HSVhsv(90, 79%, 22%)
CMYKcmyk(39.3%, 0%, 78.6%, 78%)
CIE-LABlab(20.81, -17.46, 23.69)
CIE-LCHlch(20.81, 29.43, 126.39°)
OKLaboklab(31.14% -0.0491 0.0541)
OKLCHoklch(31.14% 0.073 132.2)
XYZxyz(2.1402, 3.1949, 0.8517)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22380C #220C38
analogous
#38380C #22380C #0C380C
triadic
#22380C #0C2238 #380C22
tetradic
#22380C #0C3838 #220C38 #380C0C
square
#22380C #0C3838 #220C38 #380C0C
split-complementary
#22380C #0C0C38 #380C38
monochromatic
#0F1905 #0F1905 #22380C #416A17 #5F9D22

Accessibility & contrast

On white

12.81
#22380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22380C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22380C#FFFFFF#000000##FFFFFF
##22380C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3306
Deuteranopia (green-blind)
#383110
Tritanopia (blue-blind)
#22352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22380c;
/* rgb */ color: rgb(34, 56, 12);
/* oklch */ color: oklch(31.1% 0.073 132.2);
Tailwind
colors: {
  custom: {
    50: '#5f6e4d',
    500: '#22380c',
    950: '#000000',
  },
}
SCSS
$custom: #22380c;
$custom-light: #5f6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#22380c",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 90,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31141,
    "c": 0.07306,
    "h": 132.2
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#22380C
secondary
#502C74
accent
#40E894
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #22380C

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

Preview Lab → · Contrast checker → · Palette generator →

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