#395218#395218

#395218 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.089 H 129.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#395218
RGBrgb(57, 82, 24)
HSLhsl(86, 55%, 21%)
HSVhsv(86, 71%, 32%)
CMYKcmyk(30.5%, 0%, 70.7%, 67.8%)
CIE-LABlab(31.74, -20.07, 29.96)
CIE-LCHlch(31.74, 36.06, 123.82°)
OKLaboklab(40.47% -0.0567 0.0686)
OKLCHoklch(40.47% 0.089 129.6)
XYZxyz(4.8695, 6.9703, 1.9528)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395218 #311852
analogous
#524E18 #395218 #1C5218
triadic
#395218 #183952 #521839
tetradic
#395218 #18524E #311852 #52181C
square
#395218 #18524E #311852 #52181C
split-complementary
#395218 #181C52 #4E1852
monochromatic
#101807 #18230A #395218 #5A8126 #7BB134

Accessibility & contrast

On white

8.77
#395218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#395218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395218
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395218#FFFFFF#000000##FFFFFF
##3952181.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C10
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#3B4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395218;
/* rgb */ color: rgb(57, 82, 24);
/* oklch */ color: oklch(40.5% 0.089 129.6);
Tailwind
colors: {
  custom: {
    50: '#728258',
    500: '#395218',
    950: '#000000',
  },
}
SCSS
$custom: #395218;
$custom-light: #728258;
$custom-dark: #000000;
JSON
{
  "hex": "#395218",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 85.862,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.08902,
    "h": 129.6
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#395218
secondary
#5E3D89
accent
#4ADE8A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395218

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

Preview Lab → · Contrast checker → · Palette generator →

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