#395311#395311

#395311 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.096 H 129.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#395311
RGBrgb(57, 83, 17)
HSLhsl(84, 66%, 20%)
HSVhsv(84, 80%, 33%)
CMYKcmyk(31.3%, 0%, 79.5%, 67.5%)
CIE-LABlab(32.03, -21.15, 33.38)
CIE-LCHlch(32.03, 39.52, 122.36°)
OKLaboklab(40.69% -0.0603 0.0746)
OKLCHoklch(40.69% 0.096 129)
XYZxyz(4.8818, 7.0967, 1.6428)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395311 #2B1153
analogous
#534C11 #395311 #185311
triadic
#395311 #113953 #531139
tetradic
#395311 #11534C #2B1153 #531118
square
#395311 #11534C #2B1153 #531118
split-complementary
#395311 #111853 #4C1153
monochromatic
#111905 #162007 #395311 #5C861B #7FB926

Accessibility & contrast

On white

8.68
#395311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#395311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395311
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395311#FFFFFF#000000##FFFFFF
##3953111.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D05
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#3B4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395311;
/* rgb */ color: rgb(57, 83, 17);
/* oklch */ color: oklch(40.7% 0.096 129.0);
Tailwind
colors: {
  custom: {
    50: '#728354',
    500: '#395311',
    950: '#000000',
  },
}
SCSS
$custom: #395311;
$custom-light: #728354;
$custom-dark: #000000;
JSON
{
  "hex": "#395311",
  "rgb": {
    "r": 57,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 83.636,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.09599,
    "h": 129
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#395311
secondary
#57348C
accent
#3FE982
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395311

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

Preview Lab → · Contrast checker → · Palette generator →

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