#395816#395816

#395816 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.100 H 131.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#395816
RGBrgb(57, 88, 22)
HSLhsl(88, 60%, 22%)
HSVhsv(88, 75%, 35%)
CMYKcmyk(35.2%, 0%, 75%, 65.5%)
CIE-LABlab(33.79, -23.32, 33.03)
CIE-LCHlch(33.79, 40.43, 125.22°)
OKLaboklab(42.13% -0.0658 0.0748)
OKLCHoklch(42.13% 0.1 131.4)
XYZxyz(5.3218, 7.9070, 2.0047)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395816 #351658
analogous
#585616 #395816 #185816
triadic
#395816 #163958 #581639
tetradic
#395816 #165856 #351658 #581618
square
#395816 #165856 #351658 #581618
split-complementary
#395816 #161858 #561658
monochromatic
#101806 #19270A #395816 #598922 #78BA2E

Accessibility & contrast

On white

8.14
#395816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#395816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395816
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395816#FFFFFF#000000##FFFFFF
##3958161.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#3A544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395816;
/* rgb */ color: rgb(57, 88, 22);
/* oklch */ color: oklch(42.1% 0.100 131.4);
Tailwind
colors: {
  custom: {
    50: '#728758',
    500: '#395816',
    950: '#000000',
  },
}
SCSS
$custom: #395816;
$custom-light: #728758;
$custom-dark: #000000;
JSON
{
  "hex": "#395816",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 22
  },
  "hsl": {
    "h": 88.182,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.0996,
    "h": 131.4
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#395816
secondary
#623B8F
accent
#45E38F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395816

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

Preview Lab → · Contrast checker → · Palette generator →

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