#386222#386222

#386222 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.105 H 136.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#386222
RGBrgb(56, 98, 34)
HSLhsl(99, 48%, 26%)
HSVhsv(99, 65%, 38%)
CMYKcmyk(42.9%, 0%, 65.3%, 61.6%)
CIE-LABlab(37.28, -27.45, 31.11)
CIE-LCHlch(37.28, 41.49, 131.43°)
OKLaboklab(45.01% -0.076 0.0724)
OKLCHoklch(45.01% 0.105 136.4)
XYZxyz(6.2871, 9.6913, 3.0524)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386222 #4C2262
analogous
#586222 #386222 #22622C
triadic
#386222 #223862 #622238
tetradic
#386222 #225862 #4C2262 #622C22
square
#386222 #225862 #4C2262 #622C22
split-complementary
#386222 #2C2262 #622258
monochromatic
#0D1708 #1E3512 #386222 #528F32 #6CBD42

Accessibility & contrast

On white

7.15
#386222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#386222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386222
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386222#FFFFFF#000000##FFFFFF
##3862221.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1B
Deuteranopia (green-blind)
#605627
Tritanopia (blue-blind)
#365E54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #386222;
/* rgb */ color: rgb(56, 98, 34);
/* oklch */ color: oklch(45.0% 0.105 136.4);
Tailwind
colors: {
  custom: {
    50: '#728f60',
    500: '#386222',
    950: '#000000',
  },
}
SCSS
$custom: #386222;
$custom-light: #728f60;
$custom-dark: #000000;
JSON
{
  "hex": "#386222",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 99.375,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.10494,
    "h": 136.4
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#386222
secondary
#7C4A96
accent
#50D8A9
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #386222

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

Preview Lab → · Contrast checker → · Palette generator →

#386222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva