#395017#395017

#395017 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.087 H 128.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#395017
RGBrgb(57, 80, 23)
HSLhsl(84, 55%, 20%)
HSVhsv(84, 71%, 31%)
CMYKcmyk(28.8%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.04, -19.10, 29.69)
CIE-LCHlch(31.04, 35.31, 122.75°)
OKLaboklab(39.9% -0.0542 0.0679)
OKLCHoklch(39.9% 0.087 128.6)
XYZxyz(4.7106, 6.6689, 1.8495)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395017 #2E1750
analogous
#504B17 #395017 #1C5017
triadic
#395017 #173950 #501739
tetradic
#395017 #17504B #2E1750 #50171C
square
#395017 #17504B #2E1750 #50171C
split-complementary
#395017 #171C50 #4B1750
monochromatic
#111807 #172009 #395017 #5B8025 #7DAF32

Accessibility & contrast

On white

9.00
#395017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#395017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395017
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395017#FFFFFF#000000##FFFFFF
##3950171.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#3B4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #395017;
/* rgb */ color: rgb(57, 80, 23);
/* oklch */ color: oklch(39.9% 0.087 128.6);
Tailwind
colors: {
  custom: {
    50: '#718157',
    500: '#395017',
    950: '#000000',
  },
}
SCSS
$custom: #395017;
$custom-light: #718157;
$custom-dark: #000000;
JSON
{
  "hex": "#395017",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 84.211,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.08686,
    "h": 128.6
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#395017
secondary
#5A3C87
accent
#49DF85
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395017

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

Preview Lab → · Contrast checker → · Palette generator →

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