#395711#395711

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

Color values

HEX#395711
RGBrgb(57, 87, 17)
HSLhsl(86, 67%, 20%)
HSVhsv(86, 80%, 34%)
CMYKcmyk(34.5%, 0%, 80.5%, 65.9%)
CIE-LABlab(33.41, -23.19, 34.73)
CIE-LCHlch(33.41, 41.76, 123.73°)
OKLaboklab(41.81% -0.0659 0.0775)
OKLCHoklch(41.81% 0.102 130.4)
XYZxyz(5.1967, 7.7265, 1.7478)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395711 #2F1157
analogous
#575211 #395711 #165711
triadic
#395711 #113957 #571139
tetradic
#395711 #115752 #2F1157 #571116
square
#395711 #115752 #2F1157 #571116
split-complementary
#395711 #111657 #521157
monochromatic
#111A05 #172407 #395711 #5B8A1B #7CBD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##395711#FFFFFF#000000##FFFFFF
##3957111.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)
#5B5004
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#3B534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395711;
/* rgb */ color: rgb(57, 87, 17);
/* oklch */ color: oklch(41.8% 0.102 130.4);
Tailwind
colors: {
  custom: {
    50: '#728655',
    500: '#395711',
    950: '#000000',
  },
}
SCSS
$custom: #395711;
$custom-light: #728655;
$custom-dark: #000000;
JSON
{
  "hex": "#395711",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 85.714,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.10171,
    "h": 130.4
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#395711
secondary
#5B3490
accent
#3EEA88
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395711

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

Preview Lab → · Contrast checker → · Palette generator →

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