#395317#395317

#395317 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.091 H 129.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#395317
RGBrgb(57, 83, 23)
HSLhsl(86, 57%, 21%)
HSVhsv(86, 72%, 33%)
CMYKcmyk(31.3%, 0%, 72.3%, 67.5%)
CIE-LABlab(32.07, -20.68, 30.79)
CIE-LCHlch(32.07, 37.09, 123.89°)
OKLaboklab(40.74% -0.0585 0.0702)
OKLCHoklch(40.74% 0.091 129.8)
XYZxyz(4.9352, 7.1181, 1.9244)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395317 #311753
analogous
#534F17 #395317 #1B5317
triadic
#395317 #173953 #531739
tetradic
#395317 #17534F #311753 #53171B
square
#395317 #17534F #311753 #53171B
split-complementary
#395317 #171B53 #4F1753
monochromatic
#101807 #18230A #395317 #5A8324 #7BB332

Accessibility & contrast

On white

8.66
#395317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#395317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395317
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395317#FFFFFF#000000##FFFFFF
##3953171.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#3B4F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395317;
/* rgb */ color: rgb(57, 83, 23);
/* oklch */ color: oklch(40.7% 0.091 129.8);
Tailwind
colors: {
  custom: {
    50: '#728358',
    500: '#395317',
    950: '#000000',
  },
}
SCSS
$custom: #395317;
$custom-light: #728358;
$custom-dark: #000000;
JSON
{
  "hex": "#395317",
  "rgb": {
    "r": 57,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 86,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.09139,
    "h": 129.8
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#395317
secondary
#5E3C8A
accent
#48E08A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395317

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

Preview Lab → · Contrast checker → · Palette generator →

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