#385912#385912

#385912 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.3% C 0.104 H 131.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#385912
RGBrgb(56, 89, 18)
HSLhsl(88, 66%, 21%)
HSVhsv(88, 80%, 35%)
CMYKcmyk(37.1%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.04, -24.53, 34.94)
CIE-LCHlch(34.04, 42.69, 125.08°)
OKLaboklab(42.32% -0.0694 0.0781)
OKLCHoklch(42.32% 0.104 131.6)
XYZxyz(5.3124, 8.0290, 1.8420)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385912 #331259
analogous
#595612 #385912 #155912
triadic
#385912 #123859 #591238
tetradic
#385912 #125956 #331259 #591215
square
#385912 #125956 #331259 #591215
split-complementary
#385912 #121559 #561259
monochromatic
#101905 #182608 #385912 #588C1C #78BF27

Accessibility & contrast

On white

8.06
#385912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#385912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385912
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385912#FFFFFF#000000##FFFFFF
##3859121.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#39554B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #385912;
/* rgb */ color: rgb(56, 89, 18);
/* oklch */ color: oklch(42.3% 0.104 131.6);
Tailwind
colors: {
  custom: {
    50: '#728856',
    500: '#385912',
    950: '#000000',
  },
}
SCSS
$custom: #385912;
$custom-light: #728856;
$custom-dark: #000000;
JSON
{
  "hex": "#385912",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 87.887,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.10447,
    "h": 131.6
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#385912
secondary
#603592
accent
#3FE98E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #385912

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

Preview Lab → · Contrast checker → · Palette generator →

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