#395517#395517

#395517 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.094 H 130.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#395517
RGBrgb(57, 85, 23)
HSLhsl(87, 57%, 21%)
HSVhsv(87, 73%, 33%)
CMYKcmyk(32.9%, 0%, 72.9%, 66.7%)
CIE-LABlab(32.76, -21.72, 31.52)
CIE-LCHlch(32.76, 38.27, 124.57°)
OKLaboklab(41.3% -0.0613 0.0717)
OKLCHoklch(41.3% 0.094 130.5)
XYZxyz(5.0905, 7.4286, 1.9761)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395517 #331755
analogous
#555217 #395517 #1A5517
triadic
#395517 #173955 #551739
tetradic
#395517 #175552 #331755 #55171A
square
#395517 #175552 #331755 #55171A
split-complementary
#395517 #171A55 #521755
monochromatic
#101807 #19250A #395517 #598524 #7AB531

Accessibility & contrast

On white

8.45
#395517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#395517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395517
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395517#FFFFFF#000000##FFFFFF
##3955171.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#3A5148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #395517;
/* rgb */ color: rgb(57, 85, 23);
/* oklch */ color: oklch(41.3% 0.094 130.5);
Tailwind
colors: {
  custom: {
    50: '#728558',
    500: '#395517',
    950: '#000000',
  },
}
SCSS
$custom: #395517;
$custom-light: #728558;
$custom-dark: #000000;
JSON
{
  "hex": "#395517",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 87.097,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.09438,
    "h": 130.5
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#395517
secondary
#603C8C
accent
#47E18C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395517

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

Preview Lab → · Contrast checker → · Palette generator →

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