#385012#385012

#385012 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.091 H 128.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#385012
RGBrgb(56, 80, 18)
HSLhsl(83, 63%, 19%)
HSVhsv(83, 78%, 31%)
CMYKcmyk(30%, 0%, 77.5%, 68.6%)
CIE-LABlab(30.93, -19.96, 31.85)
CIE-LCHlch(30.93, 37.59, 122.07°)
OKLaboklab(39.78% -0.0569 0.0716)
OKLCHoklch(39.78% 0.092 128.5)
XYZxyz(4.6087, 6.6216, 1.6074)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385012 #2A1250
analogous
#504912 #385012 #195012
triadic
#385012 #123850 #501238
tetradic
#385012 #125049 #2A1250 #501219
square
#385012 #125049 #2A1250 #501219
split-complementary
#385012 #121950 #491250
monochromatic
#111906 #151E07 #385012 #5B821D #7EB428

Accessibility & contrast

On white

9.03
#385012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#385012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385012
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385012#FFFFFF#000000##FFFFFF
##3850121.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#3A4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #385012;
/* rgb */ color: rgb(56, 80, 18);
/* oklch */ color: oklch(39.8% 0.091 128.5);
Tailwind
colors: {
  custom: {
    50: '#718154',
    500: '#385012',
    950: '#000000',
  },
}
SCSS
$custom: #385012;
$custom-light: #718154;
$custom-dark: #000000;
JSON
{
  "hex": "#385012",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 83.226,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3978,
    "c": 0.0915,
    "h": 128.5
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#385012
secondary
#553589
accent
#41E681
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #385012

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

Preview Lab → · Contrast checker → · Palette generator →

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