#396213#396213

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

Color values

HEX#396213
RGBrgb(57, 98, 19)
HSLhsl(91, 68%, 23%)
HSVhsv(91, 81%, 38%)
CMYKcmyk(41.8%, 0%, 80.6%, 61.6%)
CIE-LABlab(37.21, -28.38, 37.65)
CIE-LCHlch(37.21, 47.15, 127.00°)
OKLaboklab(44.92% -0.0798 0.0839)
OKLCHoklch(44.92% 0.116 133.6)
XYZxyz(6.1725, 9.6519, 2.1537)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396213 #3C1362
analogous
#606213 #396213 #136214
triadic
#396213 #133962 #621339
tetradic
#396213 #136062 #3C1362 #621413
square
#396213 #136062 #3C1362 #621413
split-complementary
#396213 #141362 #621360
monochromatic
#0F1A05 #1B2F09 #396213 #57951D #75C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396213#FFFFFF#000000##FFFFFF
##3962131.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)
#665A03
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#395E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396213;
/* rgb */ color: rgb(57, 98, 19);
/* oklch */ color: oklch(44.9% 0.116 133.6);
Tailwind
colors: {
  custom: {
    50: '#748f57',
    500: '#396213',
    950: '#000000',
  },
}
SCSS
$custom: #396213;
$custom-light: #748f57;
$custom-dark: #000000;
JSON
{
  "hex": "#396213",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 91.139,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.1158,
    "h": 133.6
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#396213
secondary
#6A379A
accent
#3DEA97
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #396213

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

Preview Lab → · Contrast checker → · Palette generator →

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