#384C12#384C12

#384C12 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.086 H 126.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#384C12
RGBrgb(56, 76, 18)
HSLhsl(81, 62%, 18%)
HSVhsv(81, 76%, 30%)
CMYKcmyk(26.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(29.55, -17.82, 30.45)
CIE-LCHlch(29.55, 35.28, 120.34°)
OKLaboklab(38.66% -0.0511 0.0687)
OKLCHoklch(38.66% 0.086 126.6)
XYZxyz(4.3245, 6.0532, 1.5127)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384C12 #26124C
analogous
#4C4312 #384C12 #1B4C12
triadic
#384C12 #12384C #4C1238
tetradic
#384C12 #124C43 #26124C #4C121B
square
#384C12 #124C43 #26124C #4C121B
split-complementary
#384C12 #121B4C #43124C
monochromatic
#121906 #141B06 #384C12 #5C7D1E #81AF29

Accessibility & contrast

On white

9.50
#384C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#384C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384C12
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384C12#FFFFFF#000000##FFFFFF
##384C121.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#3B4840
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #384c12;
/* rgb */ color: rgb(56, 76, 18);
/* oklch */ color: oklch(38.7% 0.086 126.6);
Tailwind
colors: {
  custom: {
    50: '#717e54',
    500: '#384c12',
    950: '#000000',
  },
}
SCSS
$custom: #384c12;
$custom-light: #717e54;
$custom-dark: #000000;
JSON
{
  "hex": "#384c12",
  "rgb": {
    "r": 56,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 80.69,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38658,
    "c": 0.08561,
    "h": 126.6
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#384C12
secondary
#503585
accent
#43E57B
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #384C12

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

Preview Lab → · Contrast checker → · Palette generator →

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