#395718#395718

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

Color values

HEX#395718
RGBrgb(57, 87, 24)
HSLhsl(89, 57%, 22%)
HSVhsv(89, 72%, 34%)
CMYKcmyk(34.5%, 0%, 72.4%, 65.9%)
CIE-LABlab(33.46, -22.65, 31.79)
CIE-LCHlch(33.46, 39.03, 125.47°)
OKLaboklab(41.87% -0.0638 0.0725)
OKLCHoklch(41.87% 0.097 131.4)
XYZxyz(5.2604, 7.7520, 2.0831)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395718 #361857
analogous
#575618 #395718 #1A5718
triadic
#395718 #183957 #571839
tetradic
#395718 #185756 #361857 #57181A
square
#395718 #185756 #361857 #57181A
split-complementary
#395718 #181A57 #561857
monochromatic
#101807 #1A270B #395718 #588725 #78B732

Accessibility & contrast

On white

8.23
#395718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #395718
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395718#FFFFFF#000000##FFFFFF
##3957181.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395718;
/* rgb */ color: rgb(57, 87, 24);
/* oklch */ color: oklch(41.9% 0.097 131.4);
Tailwind
colors: {
  custom: {
    50: '#728659',
    500: '#395718',
    950: '#000000',
  },
}
SCSS
$custom: #395718;
$custom-light: #728659;
$custom-dark: #000000;
JSON
{
  "hex": "#395718",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 88.571,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.09654,
    "h": 131.4
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#395718
secondary
#633D8E
accent
#48E090
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395718

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

Preview Lab → · Contrast checker → · Palette generator →

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