#384912#384912

#384912 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.081 H 125.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#384912
RGBrgb(56, 73, 18)
HSLhsl(79, 60%, 18%)
HSVhsv(79, 75%, 29%)
CMYKcmyk(23.3%, 0%, 75.3%, 71.4%)
CIE-LABlab(28.51, -16.18, 29.39)
CIE-LCHlch(28.51, 33.55, 118.83°)
OKLaboklab(37.82% -0.0466 0.0665)
OKLCHoklch(37.82% 0.081 125)
XYZxyz(4.1226, 5.6495, 1.4454)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384912 #231249
analogous
#493E12 #384912 #1D4912
triadic
#384912 #123849 #491238
tetradic
#384912 #12493E #231249 #49121D
square
#384912 #12493E #231249 #49121D
split-complementary
#384912 #121D49 #3E1249
monochromatic
#131906 #131906 #384912 #5E7A1E #83AB2A

Accessibility & contrast

On white

9.86
#384912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#384912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384912
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384912#FFFFFF#000000##FFFFFF
##3849121.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#3B453E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #384912;
/* rgb */ color: rgb(56, 73, 18);
/* oklch */ color: oklch(37.8% 0.081 125.0);
Tailwind
colors: {
  custom: {
    50: '#717b53',
    500: '#384912',
    950: '#000000',
  },
}
SCSS
$custom: #384912;
$custom-light: #717b53;
$custom-dark: #000000;
JSON
{
  "hex": "#384912",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 78.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.08115,
    "h": 125
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#384912
secondary
#4D3582
accent
#44E475
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #384912

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

Preview Lab → · Contrast checker → · Palette generator →

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