#396222#396222

#396222 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.104 H 136.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#396222
RGBrgb(57, 98, 34)
HSLhsl(98, 48%, 26%)
HSVhsv(98, 65%, 38%)
CMYKcmyk(41.8%, 0%, 65.3%, 61.6%)
CIE-LABlab(37.34, -27.08, 31.18)
CIE-LCHlch(37.34, 41.30, 130.97°)
OKLaboklab(45.06% -0.075 0.0725)
OKLCHoklch(45.06% 0.104 136)
XYZxyz(6.3436, 9.7204, 3.0550)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396222 #4B2262
analogous
#596222 #396222 #22622B
triadic
#396222 #223962 #622239
tetradic
#396222 #225962 #4B2262 #622B22
square
#396222 #225962 #4B2262 #622B22
split-complementary
#396222 #2B2262 #622259
monochromatic
#0D1708 #1F3512 #396222 #538F32 #6EBD42

Accessibility & contrast

On white

7.13
#396222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #396222
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396222#FFFFFF#000000##FFFFFF
##3962221.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1B
Deuteranopia (green-blind)
#605727
Tritanopia (blue-blind)
#385E54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396222;
/* rgb */ color: rgb(57, 98, 34);
/* oklch */ color: oklch(45.1% 0.104 136.0);
Tailwind
colors: {
  custom: {
    50: '#738f60',
    500: '#396222',
    950: '#000000',
  },
}
SCSS
$custom: #396222;
$custom-light: #738f60;
$custom-dark: #000000;
JSON
{
  "hex": "#396222",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 98.438,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45063,
    "c": 0.10435,
    "h": 136
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#396222
secondary
#7B4A96
accent
#50D8A7
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #396222

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

Preview Lab → · Contrast checker → · Palette generator →

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