#385118#385118

#385118 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.088 H 129.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#385118
RGBrgb(56, 81, 24)
HSLhsl(86, 54%, 21%)
HSVhsv(86, 70%, 32%)
CMYKcmyk(30.9%, 0%, 70.4%, 68.2%)
CIE-LABlab(31.33, -19.98, 29.50)
CIE-LCHlch(31.33, 35.62, 124.11°)
OKLaboklab(40.12% -0.0564 0.0676)
OKLCHoklch(40.12% 0.088 129.8)
XYZxyz(4.7382, 6.7914, 1.9252)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385118 #311851
analogous
#514D18 #385118 #1B5118
triadic
#385118 #183851 #511838
tetradic
#385118 #18514D #311851 #51181B
square
#385118 #18514D #311851 #51181B
split-complementary
#385118 #181B51 #4D1851
monochromatic
#101807 #17220A #385118 #598026 #79AF34

Accessibility & contrast

On white

8.90
#385118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#385118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385118
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385118#FFFFFF#000000##FFFFFF
##3851181.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#3A4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #385118;
/* rgb */ color: rgb(56, 81, 24);
/* oklch */ color: oklch(40.1% 0.088 129.8);
Tailwind
colors: {
  custom: {
    50: '#718258',
    500: '#385118',
    950: '#000000',
  },
}
SCSS
$custom: #385118;
$custom-light: #718258;
$custom-dark: #000000;
JSON
{
  "hex": "#385118",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 86.316,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.08808,
    "h": 129.8
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#385118
secondary
#5E3D88
accent
#4ADE8B
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385118

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

Preview Lab → · Contrast checker → · Palette generator →

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