#395717#395717

#395717 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.097 H 131.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#395717
RGBrgb(57, 87, 23)
HSLhsl(88, 58%, 22%)
HSVhsv(88, 74%, 34%)
CMYKcmyk(34.5%, 0%, 73.6%, 65.9%)
CIE-LABlab(33.45, -22.74, 32.24)
CIE-LCHlch(33.45, 39.45, 125.20°)
OKLaboklab(41.86% -0.0641 0.0732)
OKLCHoklch(41.86% 0.097 131.2)
XYZxyz(5.2501, 7.7479, 2.0293)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395717 #351757
analogous
#575517 #395717 #195717
triadic
#395717 #173957 #571739
tetradic
#395717 #175755 #351757 #571719
square
#395717 #175755 #351757 #571719
split-complementary
#395717 #171957 #551757
monochromatic
#101806 #19270A #395717 #598724 #78B831

Accessibility & contrast

On white

8.24
#395717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#395717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395717
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395717#FFFFFF#000000##FFFFFF
##3957171.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#3A534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395717;
/* rgb */ color: rgb(57, 87, 23);
/* oklch */ color: oklch(41.9% 0.097 131.2);
Tailwind
colors: {
  custom: {
    50: '#728658',
    500: '#395717',
    950: '#000000',
  },
}
SCSS
$custom: #395717;
$custom-light: #728658;
$custom-dark: #000000;
JSON
{
  "hex": "#395717",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 88.125,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.09735,
    "h": 131.2
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#395717
secondary
#623C8E
accent
#46E18F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395717

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

Preview Lab → · Contrast checker → · Palette generator →

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