#396215#396215

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

Color values

HEX#396215
RGBrgb(57, 98, 21)
HSLhsl(92, 65%, 23%)
HSVhsv(92, 79%, 38%)
CMYKcmyk(41.8%, 0%, 78.6%, 61.6%)
CIE-LABlab(37.22, -28.24, 36.90)
CIE-LCHlch(37.22, 46.47, 127.43°)
OKLaboklab(44.94% -0.0793 0.0827)
OKLCHoklch(44.94% 0.115 133.8)
XYZxyz(6.1903, 9.6591, 2.2475)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396215 #3E1562
analogous
#5F6215 #396215 #156217
triadic
#396215 #153962 #621539
tetradic
#396215 #155F62 #3E1562 #621715
square
#396215 #155F62 #3E1562 #621715
split-complementary
#396215 #171562 #62155F
monochromatic
#0F1905 #1C300A #396215 #569420 #74C72B

Accessibility & contrast

On white

7.16
#396215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #396215
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396215#FFFFFF#000000##FFFFFF
##3962151.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #396215;
/* rgb */ color: rgb(57, 98, 21);
/* oklch */ color: oklch(44.9% 0.115 133.8);
Tailwind
colors: {
  custom: {
    50: '#738f58',
    500: '#396215',
    950: '#000000',
  },
}
SCSS
$custom: #396215;
$custom-light: #738f58;
$custom-dark: #000000;
JSON
{
  "hex": "#396215",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 91.948,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.11454,
    "h": 133.8
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#396215
secondary
#6C3A99
accent
#40E899
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396215

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

Preview Lab → · Contrast checker → · Palette generator →

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