#395115#395115

#395115 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.090 H 128.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#395115
RGBrgb(57, 81, 21)
HSLhsl(84, 59%, 20%)
HSVhsv(84, 74%, 32%)
CMYKcmyk(29.6%, 0%, 74.1%, 68.2%)
CIE-LABlab(31.37, -19.80, 30.98)
CIE-LCHlch(31.37, 36.77, 122.59°)
OKLaboklab(40.16% -0.0563 0.0703)
OKLCHoklch(40.16% 0.09 128.7)
XYZxyz(4.7651, 6.8087, 1.7725)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395115 #2D1551
analogous
#514B15 #395115 #1B5115
triadic
#395115 #153951 #511539
tetradic
#395115 #15514B #2D1551 #51151B
square
#395115 #15514B #2D1551 #51151B
split-complementary
#395115 #151B51 #4B1551
monochromatic
#111806 #172008 #395115 #5B8222 #7DB22E

Accessibility & contrast

On white

8.89
#395115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#395115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395115
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395115#FFFFFF#000000##FFFFFF
##3951151.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0C
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#3B4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #395115;
/* rgb */ color: rgb(57, 81, 21);
/* oklch */ color: oklch(40.2% 0.090 128.7);
Tailwind
colors: {
  custom: {
    50: '#728256',
    500: '#395115',
    950: '#000000',
  },
}
SCSS
$custom: #395115;
$custom-light: #728256;
$custom-dark: #000000;
JSON
{
  "hex": "#395115",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 84,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40162,
    "c": 0.09006,
    "h": 128.7
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#395115
secondary
#593989
accent
#46E284
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395115

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

Preview Lab → · Contrast checker → · Palette generator →

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