#395912#395912

#395912 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.104 H 131.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#395912
RGBrgb(57, 89, 18)
HSLhsl(87, 66%, 21%)
HSVhsv(87, 80%, 35%)
CMYKcmyk(36%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.10, -24.12, 35.02)
CIE-LCHlch(34.10, 42.52, 124.56°)
OKLaboklab(42.38% -0.0683 0.0783)
OKLCHoklch(42.38% 0.104 131.1)
XYZxyz(5.3689, 8.0581, 1.8446)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395912 #321259
analogous
#595512 #395912 #155912
triadic
#395912 #123959 #591239
tetradic
#395912 #125955 #321259 #591215
square
#395912 #125955 #321259 #591215
split-complementary
#395912 #121559 #551259
monochromatic
#101905 #182608 #395912 #5A8C1C #7ABF27

Accessibility & contrast

On white

8.04
#395912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#395912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395912
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395912#FFFFFF#000000##FFFFFF
##3959121.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#3A554B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #395912;
/* rgb */ color: rgb(57, 89, 18);
/* oklch */ color: oklch(42.4% 0.104 131.1);
Tailwind
colors: {
  custom: {
    50: '#738856',
    500: '#395912',
    950: '#000000',
  },
}
SCSS
$custom: #395912;
$custom-light: #738856;
$custom-dark: #000000;
JSON
{
  "hex": "#395912",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 87.042,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.10389,
    "h": 131.1
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#395912
secondary
#5F3592
accent
#3FE98B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395912

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

Preview Lab → · Contrast checker → · Palette generator →

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