#385812#385812

#385812 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.103 H 131.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#385812
RGBrgb(56, 88, 18)
HSLhsl(87, 66%, 21%)
HSVhsv(87, 80%, 35%)
CMYKcmyk(36.4%, 0%, 79.5%, 65.5%)
CIE-LABlab(33.70, -24.04, 34.60)
CIE-LCHlch(33.70, 42.13, 124.79°)
OKLaboklab(42.03% -0.068 0.0774)
OKLCHoklch(42.03% 0.103 131.3)
XYZxyz(5.2297, 7.8637, 1.8144)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385812 #321258
analogous
#585512 #385812 #155812
triadic
#385812 #123858 #581238
tetradic
#385812 #125855 #321258 #581215
square
#385812 #125855 #321258 #581215
split-complementary
#385812 #121558 #551258
monochromatic
#101905 #182508 #385812 #588B1C #79BE27

Accessibility & contrast

On white

8.16
#385812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#385812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385812
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385812#FFFFFF#000000##FFFFFF
##3858121.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#39544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #385812;
/* rgb */ color: rgb(56, 88, 18);
/* oklch */ color: oklch(42.0% 0.103 131.3);
Tailwind
colors: {
  custom: {
    50: '#728755',
    500: '#385812',
    950: '#000000',
  },
}
SCSS
$custom: #385812;
$custom-light: #728755;
$custom-dark: #000000;
JSON
{
  "hex": "#385812",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 87.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.10305,
    "h": 131.3
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#385812
secondary
#5F3591
accent
#3FE98D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #385812

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

Preview Lab → · Contrast checker → · Palette generator →

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