#384F12#384F12

#384F12 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.090 H 128.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#384F12
RGBrgb(56, 79, 18)
HSLhsl(83, 63%, 19%)
HSVhsv(83, 77%, 31%)
CMYKcmyk(29.1%, 0%, 77.2%, 69%)
CIE-LABlab(30.58, -19.43, 31.50)
CIE-LCHlch(30.58, 37.01, 121.66°)
OKLaboklab(39.5% -0.0555 0.0709)
OKLCHoklch(39.5% 0.09 128)
XYZxyz(4.5360, 6.4763, 1.5832)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384F12 #29124F
analogous
#4F4812 #384F12 #1A4F12
triadic
#384F12 #12384F #4F1238
tetradic
#384F12 #124F48 #29124F #4F121A
square
#384F12 #124F48 #29124F #4F121A
split-complementary
#384F12 #121A4F #48124F
monochromatic
#121906 #151D07 #384F12 #5B811D #7FB329

Accessibility & contrast

On white

9.15
#384F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#384F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384F12
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384F12#FFFFFF#000000##FFFFFF
##384F121.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#3A4B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #384f12;
/* rgb */ color: rgb(56, 79, 18);
/* oklch */ color: oklch(39.5% 0.090 128.0);
Tailwind
colors: {
  custom: {
    50: '#718054',
    500: '#384f12',
    950: '#000000',
  },
}
SCSS
$custom: #384f12;
$custom-light: #718054;
$custom-dark: #000000;
JSON
{
  "hex": "#384f12",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 82.623,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.09003,
    "h": 128
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#384F12
secondary
#543588
accent
#42E680
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #384F12

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

Preview Lab → · Contrast checker → · Palette generator →

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