#395318#395318

#395318 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.091 H 130.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#395318
RGBrgb(57, 83, 24)
HSLhsl(86, 55%, 21%)
HSVhsv(86, 71%, 33%)
CMYKcmyk(31.3%, 0%, 71.1%, 67.5%)
CIE-LABlab(32.08, -20.59, 30.33)
CIE-LCHlch(32.08, 36.66, 124.18°)
OKLaboklab(40.75% -0.0582 0.0694)
OKLCHoklch(40.75% 0.091 130)
XYZxyz(4.9454, 7.1222, 1.9781)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395318 #321853
analogous
#534F18 #395318 #1B5318
triadic
#395318 #183953 #531839
tetradic
#395318 #18534F #321853 #53181B
square
#395318 #18534F #321853 #53181B
split-complementary
#395318 #181B53 #4F1853
monochromatic
#101807 #18240A #395318 #5A8226 #7AB233

Accessibility & contrast

On white

8.66
#395318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#395318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395318
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395318#FFFFFF#000000##FFFFFF
##3953181.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D10
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#3B4F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395318;
/* rgb */ color: rgb(57, 83, 24);
/* oklch */ color: oklch(40.8% 0.091 130.0);
Tailwind
colors: {
  custom: {
    50: '#728358',
    500: '#395318',
    950: '#000000',
  },
}
SCSS
$custom: #395318;
$custom-light: #728358;
$custom-dark: #000000;
JSON
{
  "hex": "#395318",
  "rgb": {
    "r": 57,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 86.441,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.09054,
    "h": 130
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#395318
secondary
#5F3D8A
accent
#49DE8B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395318

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

Preview Lab → · Contrast checker → · Palette generator →

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