#384812#384812

#384812 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.5% C 0.080 H 124.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#384812
RGBrgb(56, 72, 18)
HSLhsl(78, 60%, 18%)
HSVhsv(78, 75%, 28%)
CMYKcmyk(22.2%, 0%, 75%, 71.8%)
CIE-LABlab(28.17, -15.62, 29.03)
CIE-LCHlch(28.17, 32.97, 118.28°)
OKLaboklab(37.54% -0.045 0.0657)
OKLCHoklch(37.54% 0.08 124.4)
XYZxyz(4.0575, 5.5191, 1.4237)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384812 #221248
analogous
#483D12 #384812 #1D4812
triadic
#384812 #123848 #481238
tetradic
#384812 #12483D #221248 #48121D
square
#384812 #12483D #221248 #48121D
split-complementary
#384812 #121D48 #3D1248
monochromatic
#131806 #131806 #384812 #5E791E #84AA2A

Accessibility & contrast

On white

9.98
#384812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#384812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384812
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384812#FFFFFF#000000##FFFFFF
##3848121.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#3B443D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #384812;
/* rgb */ color: rgb(56, 72, 18);
/* oklch */ color: oklch(37.5% 0.080 124.4);
Tailwind
colors: {
  custom: {
    50: '#717b53',
    500: '#384812',
    950: '#000000',
  },
}
SCSS
$custom: #384812;
$custom-light: #717b53;
$custom-dark: #000000;
JSON
{
  "hex": "#384812",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 77.778,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3754,
    "c": 0.07966,
    "h": 124.4
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#384812
secondary
#4B3581
accent
#45E374
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #384812

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

Preview Lab → · Contrast checker → · Palette generator →

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