#385318#385318

#385318 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.091 H 130.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#385318
RGBrgb(56, 83, 24)
HSLhsl(87, 55%, 21%)
HSVhsv(87, 71%, 33%)
CMYKcmyk(32.5%, 0%, 71.1%, 67.5%)
CIE-LABlab(32.02, -21.02, 30.24)
CIE-LCHlch(32.02, 36.83, 124.81°)
OKLaboklab(40.68% -0.0593 0.0692)
OKLCHoklch(40.68% 0.091 130.6)
XYZxyz(4.8890, 7.0931, 1.9755)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385318 #331853
analogous
#535018 #385318 #1A5318
triadic
#385318 #183853 #531838
tetradic
#385318 #185350 #331853 #53181A
square
#385318 #185350 #331853 #53181A
split-complementary
#385318 #181A53 #501853
monochromatic
#101807 #18240A #385318 #588226 #78B233

Accessibility & contrast

On white

8.68
#385318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#385318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385318
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385318#FFFFFF#000000##FFFFFF
##3853181.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D10
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#394F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #385318;
/* rgb */ color: rgb(56, 83, 24);
/* oklch */ color: oklch(40.7% 0.091 130.6);
Tailwind
colors: {
  custom: {
    50: '#718358',
    500: '#385318',
    950: '#000000',
  },
}
SCSS
$custom: #385318;
$custom-light: #718358;
$custom-dark: #000000;
JSON
{
  "hex": "#385318",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 87.458,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.09113,
    "h": 130.6
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#385318
secondary
#603D8A
accent
#49DE8E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385318

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

Preview Lab → · Contrast checker → · Palette generator →

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