#385512#385512

#385512 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.099 H 130.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#385512
RGBrgb(56, 85, 18)
HSLhsl(86, 65%, 20%)
HSVhsv(86, 79%, 33%)
CMYKcmyk(34.1%, 0%, 78.8%, 66.7%)
CIE-LABlab(32.66, -22.54, 33.58)
CIE-LCHlch(32.66, 40.44, 123.87°)
OKLaboklab(41.19% -0.064 0.0753)
OKLCHoklch(41.19% 0.099 130.4)
XYZxyz(4.9885, 7.3813, 1.7340)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385512 #2F1255
analogous
#555012 #385512 #165512
triadic
#385512 #123855 #551238
tetradic
#385512 #125550 #2F1255 #551216
square
#385512 #125550 #2F1255 #551216
split-complementary
#385512 #121655 #501255
monochromatic
#111905 #172207 #385512 #59881D #7BBA27

Accessibility & contrast

On white

8.48
#385512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#385512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385512
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385512#FFFFFF#000000##FFFFFF
##3855121.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#395148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #385512;
/* rgb */ color: rgb(56, 85, 18);
/* oklch */ color: oklch(41.2% 0.099 130.4);
Tailwind
colors: {
  custom: {
    50: '#728555',
    500: '#385512',
    950: '#000000',
  },
}
SCSS
$custom: #385512;
$custom-light: #728555;
$custom-dark: #000000;
JSON
{
  "hex": "#385512",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 85.97,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.09876,
    "h": 130.4
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#385512
secondary
#5B358E
accent
#40E889
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #385512

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

Preview Lab → · Contrast checker → · Palette generator →

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