#395712#395712

#395712 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.8% C 0.101 H 130.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#395712
RGBrgb(57, 87, 18)
HSLhsl(86, 66%, 21%)
HSVhsv(86, 79%, 34%)
CMYKcmyk(34.5%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.41, -23.12, 34.34)
CIE-LCHlch(33.41, 41.40, 123.95°)
OKLaboklab(41.82% -0.0656 0.0768)
OKLCHoklch(41.82% 0.101 130.5)
XYZxyz(5.2047, 7.7297, 1.7899)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395712 #301257
analogous
#575212 #395712 #165712
triadic
#395712 #123957 #571239
tetradic
#395712 #125752 #301257 #571216
square
#395712 #125752 #301257 #571216
split-complementary
#395712 #121657 #521257
monochromatic
#111905 #182408 #395712 #5A8A1C #7BBC27

Accessibility & contrast

On white

8.25
#395712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#395712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395712
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395712#FFFFFF#000000##FFFFFF
##3957121.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#3A534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395712;
/* rgb */ color: rgb(57, 87, 18);
/* oklch */ color: oklch(41.8% 0.101 130.5);
Tailwind
colors: {
  custom: {
    50: '#728655',
    500: '#395712',
    950: '#000000',
  },
}
SCSS
$custom: #395712;
$custom-light: #728655;
$custom-dark: #000000;
JSON
{
  "hex": "#395712",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 86.087,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.10104,
    "h": 130.5
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#395712
secondary
#5C3590
accent
#3FE989
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395712

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

Preview Lab → · Contrast checker → · Palette generator →

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