#384D12#384D12

#384D12 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.087 H 127.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#384D12
RGBrgb(56, 77, 18)
HSLhsl(81, 62%, 19%)
HSVhsv(81, 77%, 30%)
CMYKcmyk(27.3%, 0%, 76.6%, 69.8%)
CIE-LABlab(29.89, -18.36, 30.80)
CIE-LCHlch(29.89, 35.86, 120.80°)
OKLaboklab(38.94% -0.0526 0.0694)
OKLCHoklch(38.94% 0.087 127.1)
XYZxyz(4.3940, 6.1921, 1.5358)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384D12 #27124D
analogous
#4D4412 #384D12 #1A4D12
triadic
#384D12 #12384D #4D1238
tetradic
#384D12 #124D44 #27124D #4D121A
square
#384D12 #124D44 #27124D #4D121A
split-complementary
#384D12 #121A4D #44124D
monochromatic
#121906 #141B06 #384D12 #5C7F1E #80B029

Accessibility & contrast

On white

9.38
#384D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #384D12
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384D12#FFFFFF#000000##FFFFFF
##384D121.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#3A4941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #384d12;
/* rgb */ color: rgb(56, 77, 18);
/* oklch */ color: oklch(38.9% 0.087 127.1);
Tailwind
colors: {
  custom: {
    50: '#717f54',
    500: '#384d12',
    950: '#000000',
  },
}
SCSS
$custom: #384d12;
$custom-light: #717f54;
$custom-dark: #000000;
JSON
{
  "hex": "#384d12",
  "rgb": {
    "r": 56,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 81.356,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.08709,
    "h": 127.1
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#384D12
secondary
#523586
accent
#43E57C
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #384D12

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

Preview Lab → · Contrast checker → · Palette generator →

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