#395918#395918

#395918 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.100 H 132.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#395918
RGBrgb(57, 89, 24)
HSLhsl(90, 58%, 22%)
HSVhsv(90, 73%, 35%)
CMYKcmyk(36%, 0%, 73%, 65.1%)
CIE-LABlab(34.15, -23.66, 32.51)
CIE-LCHlch(34.15, 40.21, 126.04°)
OKLaboklab(42.43% -0.0665 0.074)
OKLCHoklch(42.43% 0.1 132)
XYZxyz(5.4245, 8.0804, 2.1378)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395918 #381859
analogous
#595818 #395918 #195918
triadic
#395918 #183959 #591839
tetradic
#395918 #185958 #381859 #591819
square
#395918 #185958 #381859 #591819
split-complementary
#395918 #181959 #581859
monochromatic
#0F1806 #1A290B #395918 #588925 #77B932

Accessibility & contrast

On white

8.03
#395918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#395918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395918
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395918#FFFFFF#000000##FFFFFF
##3959181.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#594F1E
Tritanopia (blue-blind)
#3A554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #395918;
/* rgb */ color: rgb(57, 89, 24);
/* oklch */ color: oklch(42.4% 0.100 132.0);
Tailwind
colors: {
  custom: {
    50: '#728859',
    500: '#395918',
    950: '#000000',
  },
}
SCSS
$custom: #395918;
$custom-light: #728859;
$custom-dark: #000000;
JSON
{
  "hex": "#395918",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 89.538,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.0995,
    "h": 132
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#395918
secondary
#663D90
accent
#47E193
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #395918

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

Preview Lab → · Contrast checker → · Palette generator →

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