#385A12#385A12

#385A12 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.6% C 0.106 H 131.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#385A12
RGBrgb(56, 90, 18)
HSLhsl(88, 67%, 21%)
HSVhsv(88, 80%, 35%)
CMYKcmyk(37.8%, 0%, 80%, 64.7%)
CIE-LABlab(34.39, -25.02, 35.28)
CIE-LCHlch(34.39, 43.25, 125.35°)
OKLaboklab(42.6% -0.0707 0.0788)
OKLCHoklch(42.6% 0.106 131.9)
XYZxyz(5.3962, 8.1965, 1.8699)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385A12 #34125A
analogous
#5A5812 #385A12 #145A12
triadic
#385A12 #12385A #5A1238
tetradic
#385A12 #125A58 #34125A #5A1214
square
#385A12 #125A58 #34125A #5A1214
split-complementary
#385A12 #12145A #58125A
monochromatic
#101A05 #182708 #385A12 #588D1C #77C026

Accessibility & contrast

On white

7.96
#385A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#385A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385A12
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385A12#FFFFFF#000000##FFFFFF
##385A121.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#39564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #385a12;
/* rgb */ color: rgb(56, 90, 18);
/* oklch */ color: oklch(42.6% 0.106 131.9);
Tailwind
colors: {
  custom: {
    50: '#728956',
    500: '#385a12',
    950: '#000000',
  },
}
SCSS
$custom: #385a12;
$custom-light: #728956;
$custom-dark: #000000;
JSON
{
  "hex": "#385a12",
  "rgb": {
    "r": 56,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 88.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.10589,
    "h": 131.9
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#385A12
secondary
#613593
accent
#3EEA8F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #385A12

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

Preview Lab → · Contrast checker → · Palette generator →

#385A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva