#395917#395917

#395917 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.100 H 131.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#395917
RGBrgb(57, 89, 23)
HSLhsl(89, 59%, 22%)
HSVhsv(89, 74%, 35%)
CMYKcmyk(36%, 0%, 74.2%, 65.1%)
CIE-LABlab(34.14, -23.74, 32.95)
CIE-LCHlch(34.14, 40.61, 125.77°)
OKLaboklab(42.42% -0.0669 0.0748)
OKLCHoklch(42.42% 0.1 131.8)
XYZxyz(5.4143, 8.0763, 2.0841)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395917 #371759
analogous
#595817 #395917 #185917
triadic
#395917 #173959 #591739
tetradic
#395917 #175958 #371759 #591718
square
#395917 #175958 #371759 #591718
split-complementary
#395917 #171859 #581759
monochromatic
#101806 #1A280A #395917 #588A24 #77BA30

Accessibility & contrast

On white

8.03
#395917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#395917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395917
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395917#FFFFFF#000000##FFFFFF
##3959171.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#3A554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #395917;
/* rgb */ color: rgb(57, 89, 23);
/* oklch */ color: oklch(42.4% 0.100 131.8);
Tailwind
colors: {
  custom: {
    50: '#728858',
    500: '#395917',
    950: '#000000',
  },
}
SCSS
$custom: #395917;
$custom-light: #728858;
$custom-dark: #000000;
JSON
{
  "hex": "#395917",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 89.091,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.1003,
    "h": 131.8
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#395917
secondary
#653C90
accent
#46E292
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395917

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

Preview Lab → · Contrast checker → · Palette generator →

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