#395817#395817

#395817 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.099 H 131.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#395817
RGBrgb(57, 88, 23)
HSLhsl(89, 59%, 22%)
HSVhsv(89, 74%, 35%)
CMYKcmyk(35.2%, 0%, 73.9%, 65.5%)
CIE-LABlab(33.80, -23.24, 32.59)
CIE-LCHlch(33.80, 40.03, 125.49°)
OKLaboklab(42.14% -0.0655 0.074)
OKLCHoklch(42.14% 0.099 131.5)
XYZxyz(5.3317, 7.9110, 2.0565)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395817 #361758
analogous
#585717 #395817 #195817
triadic
#395817 #173958 #581739
tetradic
#395817 #175857 #361758 #581719
square
#395817 #175857 #361758 #581719
split-complementary
#395817 #171958 #571758
monochromatic
#101806 #1A270A #395817 #588924 #78B930

Accessibility & contrast

On white

8.13
#395817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#395817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395817
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395817#FFFFFF#000000##FFFFFF
##3958171.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#3A544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395817;
/* rgb */ color: rgb(57, 88, 23);
/* oklch */ color: oklch(42.1% 0.099 131.5);
Tailwind
colors: {
  custom: {
    50: '#728758',
    500: '#395817',
    950: '#000000',
  },
}
SCSS
$custom: #395817;
$custom-light: #728758;
$custom-dark: #000000;
JSON
{
  "hex": "#395817",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 88.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42143,
    "c": 0.09882,
    "h": 131.5
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#395817
secondary
#633C8F
accent
#46E290
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395817

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

Preview Lab → · Contrast checker → · Palette generator →

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