#395612#395612

#395612 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.100 H 130.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#395612
RGBrgb(57, 86, 18)
HSLhsl(86, 65%, 20%)
HSVhsv(86, 79%, 34%)
CMYKcmyk(33.7%, 0%, 79.1%, 66.3%)
CIE-LABlab(33.07, -22.61, 34.00)
CIE-LCHlch(33.07, 40.84, 123.63°)
OKLaboklab(41.54% -0.0642 0.0761)
OKLCHoklch(41.54% 0.1 130.2)
XYZxyz(5.1243, 7.5689, 1.7631)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395612 #2F1256
analogous
#565112 #395612 #175612
triadic
#395612 #123956 #561239
tetradic
#395612 #125651 #2F1256 #561217
square
#395612 #125651 #2F1256 #561217
split-complementary
#395612 #121756 #511256
monochromatic
#111905 #172307 #395612 #5B891D #7CBB27

Accessibility & contrast

On white

8.35
#395612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#395612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395612
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395612#FFFFFF#000000##FFFFFF
##3956121.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#3B5249
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #395612;
/* rgb */ color: rgb(57, 86, 18);
/* oklch */ color: oklch(41.5% 0.100 130.2);
Tailwind
colors: {
  custom: {
    50: '#728655',
    500: '#395612',
    950: '#000000',
  },
}
SCSS
$custom: #395612;
$custom-light: #728655;
$custom-dark: #000000;
JSON
{
  "hex": "#395612",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 85.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.09961,
    "h": 130.2
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#395612
secondary
#5B358F
accent
#3FE887
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395612

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

Preview Lab → · Contrast checker → · Palette generator →

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