#384A12#384A12

#384A12 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.083 H 125.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#384A12
RGBrgb(56, 74, 18)
HSLhsl(79, 61%, 18%)
HSVhsv(79, 76%, 29%)
CMYKcmyk(24.3%, 0%, 75.7%, 71%)
CIE-LABlab(28.86, -16.73, 29.74)
CIE-LCHlch(28.86, 34.12, 119.36°)
OKLaboklab(38.1% -0.0481 0.0672)
OKLCHoklch(38.1% 0.083 125.6)
XYZxyz(4.1889, 5.7819, 1.4675)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384A12 #24124A
analogous
#4A4012 #384A12 #1C4A12
triadic
#384A12 #12384A #4A1238
tetradic
#384A12 #124A40 #24124A #4A121C
square
#384A12 #124A40 #24124A #4A121C
split-complementary
#384A12 #121C4A #40124A
monochromatic
#131906 #131906 #384A12 #5D7B1E #83AC2A

Accessibility & contrast

On white

9.74
#384A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#384A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384A12
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384A12#FFFFFF#000000##FFFFFF
##384A121.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#3B463F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #384a12;
/* rgb */ color: rgb(56, 74, 18);
/* oklch */ color: oklch(38.1% 0.083 125.6);
Tailwind
colors: {
  custom: {
    50: '#717c54',
    500: '#384a12',
    950: '#000000',
  },
}
SCSS
$custom: #384a12;
$custom-light: #717c54;
$custom-dark: #000000;
JSON
{
  "hex": "#384a12",
  "rgb": {
    "r": 56,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 79.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38099,
    "c": 0.08264,
    "h": 125.6
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#384A12
secondary
#4E3583
accent
#44E477
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #384A12

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

Preview Lab → · Contrast checker → · Palette generator →

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