#22380F#22380F

#22380F is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.070 H 133.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#22380F
RGBrgb(34, 56, 15)
HSLhsl(92, 58%, 14%)
HSVhsv(92, 73%, 22%)
CMYKcmyk(39.3%, 0%, 73.2%, 78%)
CIE-LABlab(20.84, -17.16, 22.25)
CIE-LCHlch(20.84, 28.10, 127.64°)
OKLaboklab(31.18% -0.048 0.0514)
OKLCHoklch(31.18% 0.07 133)
XYZxyz(2.1601, 3.2028, 0.9562)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22380F #250F38
analogous
#37380F #22380F #0F3811
triadic
#22380F #0F2238 #380F22
tetradic
#22380F #0F3738 #250F38 #38110F
square
#22380F #0F3738 #250F38 #38110F
split-complementary
#22380F #110F38 #380F37
monochromatic
#0F1806 #0F1806 #22380F #3F681C #5D9929

Accessibility & contrast

On white

12.80
#22380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22380F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22380F#FFFFFF#000000##FFFFFF
##22380F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B330A
Deuteranopia (green-blind)
#373212
Tritanopia (blue-blind)
#22362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #22380f;
/* rgb */ color: rgb(34, 56, 15);
/* oklch */ color: oklch(31.2% 0.070 133.0);
Tailwind
colors: {
  custom: {
    50: '#5f6e4f',
    500: '#22380f',
    950: '#000000',
  },
}
SCSS
$custom: #22380f;
$custom-light: #5f6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#22380f",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 92.195,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31175,
    "c": 0.0703,
    "h": 133
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#22380F
secondary
#543072
accent
#47E19A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #22380F

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

Preview Lab → · Contrast checker → · Palette generator →

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