#395811#395811

#395811 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.103 H 130.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#395811
RGBrgb(57, 88, 17)
HSLhsl(86, 68%, 21%)
HSVhsv(86, 81%, 35%)
CMYKcmyk(35.2%, 0%, 80.7%, 65.5%)
CIE-LABlab(33.75, -23.69, 35.07)
CIE-LCHlch(33.75, 42.32, 124.04°)
OKLaboklab(42.09% -0.0672 0.0782)
OKLCHoklch(42.09% 0.103 130.7)
XYZxyz(5.2782, 7.8896, 1.7750)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395811 #301158
analogous
#585311 #395811 #155811
triadic
#395811 #113958 #581139
tetradic
#395811 #115853 #301158 #581115
square
#395811 #115853 #301158 #581115
split-complementary
#395811 #111558 #531158
monochromatic
#111A05 #182507 #395811 #5A8B1B #7BBF25

Accessibility & contrast

On white

8.15
#395811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#395811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395811
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395811#FFFFFF#000000##FFFFFF
##3958111.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#3A544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395811;
/* rgb */ color: rgb(57, 88, 17);
/* oklch */ color: oklch(42.1% 0.103 130.7);
Tailwind
colors: {
  custom: {
    50: '#738755',
    500: '#395811',
    950: '#000000',
  },
}
SCSS
$custom: #395811;
$custom-light: #738755;
$custom-dark: #000000;
JSON
{
  "hex": "#395811",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 86.197,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.10312,
    "h": 130.7
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#395811
secondary
#5C3491
accent
#3DEA89
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395811

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

Preview Lab → · Contrast checker → · Palette generator →

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