#395418#395418

#395418 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.092 H 130.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#395418
RGBrgb(57, 84, 24)
HSLhsl(87, 56%, 21%)
HSVhsv(87, 71%, 33%)
CMYKcmyk(32.1%, 0%, 71.4%, 67.1%)
CIE-LABlab(32.43, -21.11, 30.69)
CIE-LCHlch(32.43, 37.25, 124.52°)
OKLaboklab(41.03% -0.0596 0.0702)
OKLCHoklch(41.03% 0.092 130.3)
XYZxyz(5.0225, 7.2763, 2.0038)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395418 #331854
analogous
#545118 #395418 #1B5418
triadic
#395418 #183954 #541839
tetradic
#395418 #185451 #331854 #54181B
square
#395418 #185451 #331854 #54181B
split-complementary
#395418 #181B54 #511854
monochromatic
#101807 #19240A #395418 #598426 #7AB333

Accessibility & contrast

On white

8.55
#395418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#395418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395418
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395418#FFFFFF#000000##FFFFFF
##3954181.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#3A5048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #395418;
/* rgb */ color: rgb(57, 84, 24);
/* oklch */ color: oklch(41.0% 0.092 130.3);
Tailwind
colors: {
  custom: {
    50: '#728458',
    500: '#395418',
    950: '#000000',
  },
}
SCSS
$custom: #395418;
$custom-light: #728458;
$custom-dark: #000000;
JSON
{
  "hex": "#395418",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 87,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.09204,
    "h": 130.3
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#395418
secondary
#603D8B
accent
#49DF8C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395418

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

Preview Lab → · Contrast checker → · Palette generator →

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