#395A11#395A11

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

Color values

HEX#395A11
RGBrgb(57, 90, 17)
HSLhsl(87, 68%, 21%)
HSVhsv(87, 81%, 35%)
CMYKcmyk(36.7%, 0%, 81.1%, 64.7%)
CIE-LABlab(34.44, -24.68, 35.73)
CIE-LCHlch(34.44, 43.43, 124.63°)
OKLaboklab(42.65% -0.0699 0.0796)
OKLCHoklch(42.65% 0.106 131.3)
XYZxyz(5.4446, 8.2225, 1.8304)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395A11 #32115A
analogous
#5A5611 #395A11 #155A11
triadic
#395A11 #11395A #5A1139
tetradic
#395A11 #115A56 #32115A #5A1115
square
#395A11 #115A56 #32115A #5A1115
split-complementary
#395A11 #11155A #56115A
monochromatic
#101A05 #182707 #395A11 #5A8D1B #7AC124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##395A11#FFFFFF#000000##FFFFFF
##395A111.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)
#5E5303
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#3A564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #395a11;
/* rgb */ color: rgb(57, 90, 17);
/* oklch */ color: oklch(42.7% 0.106 131.3);
Tailwind
colors: {
  custom: {
    50: '#738955',
    500: '#395a11',
    950: '#000000',
  },
}
SCSS
$custom: #395a11;
$custom-light: #738955;
$custom-dark: #000000;
JSON
{
  "hex": "#395a11",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 87.123,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.10594,
    "h": 131.3
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#395A11
secondary
#5F3493
accent
#3DEB8C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395A11

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

Preview Lab → · Contrast checker → · Palette generator →

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