#385212#385212

#385212 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.094 H 129.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#385212
RGBrgb(56, 82, 18)
HSLhsl(84, 64%, 20%)
HSVhsv(84, 78%, 32%)
CMYKcmyk(31.7%, 0%, 78%, 67.8%)
CIE-LABlab(31.62, -21.00, 32.54)
CIE-LCHlch(31.62, 38.73, 122.83°)
OKLaboklab(40.34% -0.0598 0.0731)
OKLCHoklch(40.34% 0.094 129.3)
XYZxyz(4.7573, 6.9189, 1.6570)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385212 #2C1252
analogous
#524C12 #385212 #185212
triadic
#385212 #123852 #521238
tetradic
#385212 #12524C #2C1252 #521218
square
#385212 #12524C #2C1252 #521218
split-complementary
#385212 #121852 #4C1252
monochromatic
#111906 #162007 #385212 #5A841D #7DB628

Accessibility & contrast

On white

8.81
#385212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#385212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385212
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385212#FFFFFF#000000##FFFFFF
##3852121.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C07
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#3A4E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #385212;
/* rgb */ color: rgb(56, 82, 18);
/* oklch */ color: oklch(40.3% 0.094 129.3);
Tailwind
colors: {
  custom: {
    50: '#718255',
    500: '#385212',
    950: '#000000',
  },
}
SCSS
$custom: #385212;
$custom-light: #718255;
$custom-dark: #000000;
JSON
{
  "hex": "#385212",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 84.375,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.09442,
    "h": 129.3
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#385212
secondary
#58358B
accent
#41E784
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385212

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

Preview Lab → · Contrast checker → · Palette generator →

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