#385312#385312

#385312 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.096 H 129.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#385312
RGBrgb(56, 83, 18)
HSLhsl(85, 64%, 20%)
HSVhsv(85, 78%, 33%)
CMYKcmyk(32.5%, 0%, 78.3%, 67.5%)
CIE-LABlab(31.97, -21.52, 32.89)
CIE-LCHlch(31.97, 39.30, 123.19°)
OKLaboklab(40.62% -0.0612 0.0738)
OKLCHoklch(40.62% 0.096 129.7)
XYZxyz(4.8333, 7.0708, 1.6823)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385312 #2D1253
analogous
#534E12 #385312 #185312
triadic
#385312 #123853 #531238
tetradic
#385312 #12534E #2D1253 #531218
square
#385312 #12534E #2D1253 #531218
split-complementary
#385312 #121853 #4E1253
monochromatic
#111905 #162107 #385312 #5A851D #7CB828

Accessibility & contrast

On white

8.70
#385312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#385312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385312
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385312#FFFFFF#000000##FFFFFF
##3853121.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#3A4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #385312;
/* rgb */ color: rgb(56, 83, 18);
/* oklch */ color: oklch(40.6% 0.096 129.7);
Tailwind
colors: {
  custom: {
    50: '#718355',
    500: '#385312',
    950: '#000000',
  },
}
SCSS
$custom: #385312;
$custom-light: #718355;
$custom-dark: #000000;
JSON
{
  "hex": "#385312",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 84.923,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.09588,
    "h": 129.7
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#385312
secondary
#59358C
accent
#40E786
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385312

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

Preview Lab → · Contrast checker → · Palette generator →

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