#385211#385211

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

Color values

HEX#385211
RGBrgb(56, 82, 17)
HSLhsl(84, 66%, 19%)
HSVhsv(84, 79%, 32%)
CMYKcmyk(31.7%, 0%, 79.3%, 67.8%)
CIE-LABlab(31.61, -21.07, 32.96)
CIE-LCHlch(31.61, 39.12, 122.59°)
OKLaboklab(40.33% -0.0601 0.0738)
OKLCHoklch(40.33% 0.095 129.2)
XYZxyz(4.7493, 6.9157, 1.6148)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385211 #2B1152
analogous
#524C11 #385211 #185211
triadic
#385211 #113852 #521138
tetradic
#385211 #11524C #2B1152 #521118
square
#385211 #11524C #2B1152 #521118
split-complementary
#385211 #111852 #4C1152
monochromatic
#111905 #151F06 #385211 #5B851C #7DB726

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##385211#FFFFFF#000000##FFFFFF
##3852111.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)
#564C06
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#3A4E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #385211;
/* rgb */ color: rgb(56, 82, 17);
/* oklch */ color: oklch(40.3% 0.095 129.2);
Tailwind
colors: {
  custom: {
    50: '#718254',
    500: '#385211',
    950: '#000000',
  },
}
SCSS
$custom: #385211;
$custom-light: #718254;
$custom-dark: #000000;
JSON
{
  "hex": "#385211",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 84,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.09513,
    "h": 129.2
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#385211
secondary
#57348B
accent
#3FE983
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385211

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

Preview Lab → · Contrast checker → · Palette generator →

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