#395A0F#395A0F

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

Color values

HEX#395A0F
RGBrgb(57, 90, 15)
HSLhsl(86, 71%, 21%)
HSVhsv(86, 83%, 35%)
CMYKcmyk(36.7%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.43, -24.80, 36.46)
CIE-LCHlch(34.43, 44.10, 124.23°)
OKLaboklab(42.64% -0.0704 0.0807)
OKLCHoklch(42.64% 0.107 131.1)
XYZxyz(5.4297, 8.2165, 1.7517)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395A0F #300F5A
analogous
#5A550F #395A0F #135A0F
triadic
#395A0F #0F395A #5A0F39
tetradic
#395A0F #0F5A55 #300F5A #5A0F13
square
#395A0F #0F5A55 #300F5A #5A0F13
split-complementary
#395A0F #0F135A #550F5A
monochromatic
#111A04 #182606 #395A0F #5A8E18 #7BC320

Accessibility & contrast

On white

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

On black

2.64
#395A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##395A0F#FFFFFF#000000##FFFFFF
##395A0F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395a0f;
/* rgb */ color: rgb(57, 90, 15);
/* oklch */ color: oklch(42.6% 0.107 131.1);
Tailwind
colors: {
  custom: {
    50: '#738954',
    500: '#395a0f',
    950: '#000000',
  },
}
SCSS
$custom: #395a0f;
$custom-light: #738954;
$custom-dark: #000000;
JSON
{
  "hex": "#395a0f",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 86.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.10714,
    "h": 131.1
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#395A0F
secondary
#5C3194
accent
#3AEE89
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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