#395A12#395A12

#395A12 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.105 H 131.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#395A12
RGBrgb(57, 90, 18)
HSLhsl(88, 67%, 21%)
HSVhsv(88, 80%, 35%)
CMYKcmyk(36.7%, 0%, 80%, 64.7%)
CIE-LABlab(34.45, -24.61, 35.36)
CIE-LCHlch(34.45, 43.08, 124.84°)
OKLaboklab(42.66% -0.0697 0.079)
OKLCHoklch(42.66% 0.105 131.4)
XYZxyz(5.4526, 8.2257, 1.8726)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395A12 #33125A
analogous
#5A5712 #395A12 #155A12
triadic
#395A12 #12395A #5A1239
tetradic
#395A12 #125A57 #33125A #5A1215
square
#395A12 #125A57 #33125A #5A1215
split-complementary
#395A12 #12155A #57125A
monochromatic
#101A05 #192708 #395A12 #598D1C #7AC026

Accessibility & contrast

On white

7.94
#395A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#395A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395A12
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395A12#FFFFFF#000000##FFFFFF
##395A121.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#3A564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #395a12;
/* rgb */ color: rgb(57, 90, 18);
/* oklch */ color: oklch(42.7% 0.105 131.4);
Tailwind
colors: {
  custom: {
    50: '#738956',
    500: '#395a12',
    950: '#000000',
  },
}
SCSS
$custom: #395a12;
$custom-light: #738956;
$custom-dark: #000000;
JSON
{
  "hex": "#395a12",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 87.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.10529,
    "h": 131.4
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#395A12
secondary
#603593
accent
#3EEA8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395A12

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

Preview Lab → · Contrast checker → · Palette generator →

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