#384D17#384D17

#384D17 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.0% C 0.083 H 127.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#384D17
RGBrgb(56, 77, 23)
HSLhsl(83, 54%, 20%)
HSVhsv(83, 70%, 30%)
CMYKcmyk(27.3%, 0%, 70.1%, 69.8%)
CIE-LABlab(29.94, -17.94, 28.49)
CIE-LCHlch(29.94, 33.66, 122.20°)
OKLaboklab(38.99% -0.0509 0.0654)
OKLCHoklch(38.99% 0.083 127.9)
XYZxyz(4.4394, 6.2103, 1.7753)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384D17 #2C174D
analogous
#4D4717 #384D17 #1D4D17
triadic
#384D17 #17384D #4D1738
tetradic
#384D17 #174D47 #2C174D #4D171D
square
#384D17 #174D47 #2C174D #4D171D
split-complementary
#384D17 #171D4D #47174D
monochromatic
#111807 #161E09 #384D17 #5A7C25 #7DAB33

Accessibility & contrast

On white

9.37
#384D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#384D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384D17
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384D17#FFFFFF#000000##FFFFFF
##384D171.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#3A4942
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #384d17;
/* rgb */ color: rgb(56, 77, 23);
/* oklch */ color: oklch(39.0% 0.083 127.9);
Tailwind
colors: {
  custom: {
    50: '#717f57',
    500: '#384d17',
    950: '#000000',
  },
}
SCSS
$custom: #384d17;
$custom-light: #717f57;
$custom-dark: #000000;
JSON
{
  "hex": "#384d17",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 83.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38989,
    "c": 0.08285,
    "h": 127.9
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#384D17
secondary
#583C84
accent
#4ADD84
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #384D17

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

Preview Lab → · Contrast checker → · Palette generator →

#384D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva