#395828#395828

#395828 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.082 H 135.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#395828
RGBrgb(57, 88, 40)
HSLhsl(99, 38%, 25%)
HSVhsv(99, 55%, 35%)
CMYKcmyk(35.2%, 0%, 54.5%, 65.5%)
CIE-LABlab(33.99, -21.37, 24.09)
CIE-LCHlch(33.99, 32.20, 131.58°)
OKLaboklab(42.36% -0.0589 0.0577)
OKLCHoklch(42.36% 0.082 135.6)
XYZxyz(5.5599, 8.0023, 3.2587)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395828 #472858
analogous
#515828 #395828 #28582F
triadic
#395828 #283958 #582839
tetradic
#395828 #285158 #472858 #582F28
square
#395828 #285158 #472858 #582F28
split-complementary
#395828 #2F2858 #582851
monochromatic
#0E150A #1E2E15 #395828 #54823B #70AC4E

Accessibility & contrast

On white

8.08
#395828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#395828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395828
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395828#FFFFFF#000000##FFFFFF
##3958281.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#38554D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #395828;
/* rgb */ color: rgb(57, 88, 40);
/* oklch */ color: oklch(42.4% 0.082 135.6);
Tailwind
colors: {
  custom: {
    50: '#718763',
    500: '#395828',
    950: '#000000',
  },
}
SCSS
$custom: #395828;
$custom-light: #718763;
$custom-dark: #000000;
JSON
{
  "hex": "#395828",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 98.75,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.08248,
    "h": 135.6
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#395828
secondary
#76518B
accent
#5ACDA5
background
#F6F8F5
surface
#ECEFEA
border
#C7CAC6
text
#080B05
muted
#7B7C79

Preview Lab

Preview with #395828

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

Preview Lab → · Contrast checker → · Palette generator →

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