#396211#396211

#396211 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 44.9% C 0.117 H 133.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#396211
RGBrgb(57, 98, 17)
HSLhsl(90, 70%, 23%)
HSVhsv(90, 83%, 38%)
CMYKcmyk(41.8%, 0%, 82.7%, 61.6%)
CIE-LABlab(37.20, -28.51, 38.36)
CIE-LCHlch(37.20, 47.79, 126.61°)
OKLaboklab(44.91% -0.0803 0.0851)
OKLCHoklch(44.91% 0.117 133.3)
XYZxyz(6.1561, 9.6454, 2.0676)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396211 #3A1162
analogous
#626211 #396211 #116211
triadic
#396211 #113962 #621139
tetradic
#396211 #116262 #3A1162 #621111
square
#396211 #116262 #3A1162 #621111
split-complementary
#396211 #111162 #621162
monochromatic
#0F1A05 #1B2E08 #396211 #57961A #76CA23

Accessibility & contrast

On white

7.17
#396211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#396211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396211
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396211#FFFFFF#000000##FFFFFF
##3962111.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#395E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396211;
/* rgb */ color: rgb(57, 98, 17);
/* oklch */ color: oklch(44.9% 0.117 133.3);
Tailwind
colors: {
  custom: {
    50: '#748f57',
    500: '#396211',
    950: '#000000',
  },
}
SCSS
$custom: #396211;
$custom-light: #748f57;
$custom-dark: #000000;
JSON
{
  "hex": "#396211",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 90.37,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.11697,
    "h": 133.3
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#396211
secondary
#68349A
accent
#3BED95
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #396211

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

Preview Lab → · Contrast checker → · Palette generator →

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