#385712#385712

#385712 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.8% C 0.102 H 131.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#385712
RGBrgb(56, 87, 18)
HSLhsl(87, 66%, 21%)
HSVhsv(87, 79%, 34%)
CMYKcmyk(35.6%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.35, -23.54, 34.26)
CIE-LCHlch(33.35, 41.57, 124.49°)
OKLaboklab(41.75% -0.0667 0.0767)
OKLCHoklch(41.75% 0.102 131)
XYZxyz(5.1482, 7.7006, 1.7873)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385712 #311257
analogous
#575312 #385712 #155712
triadic
#385712 #123857 #571238
tetradic
#385712 #125753 #311257 #571215
square
#385712 #125753 #311257 #571215
split-complementary
#385712 #121557 #531257
monochromatic
#101905 #172408 #385712 #598A1C #79BC27

Accessibility & contrast

On white

8.27
#385712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#385712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385712
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385712#FFFFFF#000000##FFFFFF
##3857121.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#39534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #385712;
/* rgb */ color: rgb(56, 87, 18);
/* oklch */ color: oklch(41.8% 0.102 131.0);
Tailwind
colors: {
  custom: {
    50: '#728655',
    500: '#385712',
    950: '#000000',
  },
}
SCSS
$custom: #385712;
$custom-light: #728655;
$custom-dark: #000000;
JSON
{
  "hex": "#385712",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 86.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.10163,
    "h": 131
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#385712
secondary
#5E3590
accent
#3FE98B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #385712

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

Preview Lab → · Contrast checker → · Palette generator →

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