#385112#385112

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

Color values

HEX#385112
RGBrgb(56, 81, 18)
HSLhsl(84, 64%, 19%)
HSVhsv(84, 78%, 32%)
CMYKcmyk(30.9%, 0%, 77.8%, 68.2%)
CIE-LABlab(31.28, -20.48, 32.20)
CIE-LCHlch(31.28, 38.16, 122.46°)
OKLaboklab(40.06% -0.0584 0.0724)
OKLCHoklch(40.06% 0.093 128.9)
XYZxyz(4.6825, 6.7692, 1.6320)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385112 #2B1251
analogous
#514B12 #385112 #185112
triadic
#385112 #123851 #511238
tetradic
#385112 #12514B #2B1251 #511218
square
#385112 #12514B #2B1251 #511218
split-complementary
#385112 #121851 #4B1251
monochromatic
#111906 #151F07 #385112 #5B831D #7DB528

Accessibility & contrast

On white

8.92
#385112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#385112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385112
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385112#FFFFFF#000000##FFFFFF
##3851121.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#3A4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #385112;
/* rgb */ color: rgb(56, 81, 18);
/* oklch */ color: oklch(40.1% 0.093 128.9);
Tailwind
colors: {
  custom: {
    50: '#718254',
    500: '#385112',
    950: '#000000',
  },
}
SCSS
$custom: #385112;
$custom-light: #718254;
$custom-dark: #000000;
JSON
{
  "hex": "#385112",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 83.81,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.09296,
    "h": 128.9
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#385112
secondary
#57358A
accent
#41E783
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385112

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

Preview Lab → · Contrast checker → · Palette generator →

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