#395C12#395C12

#395C12 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.108 H 132.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#395C12
RGBrgb(57, 92, 18)
HSLhsl(88, 67%, 22%)
HSVhsv(88, 80%, 36%)
CMYKcmyk(38%, 0%, 80.4%, 63.9%)
CIE-LABlab(35.14, -25.59, 36.03)
CIE-LCHlch(35.14, 44.19, 125.39°)
OKLaboklab(43.23% -0.0723 0.0804)
OKLCHoklch(43.23% 0.108 132)
XYZxyz(5.6236, 8.5676, 1.9296)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395C12 #35125C
analogous
#5C5A12 #395C12 #145C12
triadic
#395C12 #12395C #5C1239
tetradic
#395C12 #125C5A #35125C #5C1214
square
#395C12 #125C5A #35125C #5C1214
split-complementary
#395C12 #12145C #5A125C
monochromatic
#101A05 #192908 #395C12 #598F1C #78C226

Accessibility & contrast

On white

7.74
#395C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#395C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395C12
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395C12#FFFFFF#000000##FFFFFF
##395C121.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#3A584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #395c12;
/* rgb */ color: rgb(57, 92, 18);
/* oklch */ color: oklch(43.2% 0.108 132.0);
Tailwind
colors: {
  custom: {
    50: '#738a56',
    500: '#395c12',
    950: '#000000',
  },
}
SCSS
$custom: #395c12;
$custom-light: #738a56;
$custom-dark: #000000;
JSON
{
  "hex": "#395c12",
  "rgb": {
    "r": 57,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 88.378,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.10811,
    "h": 132
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#395C12
secondary
#623594
accent
#3EEA8F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #395C12

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

Preview Lab → · Contrast checker → · Palette generator →

#395C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva