#394A12#394A12

#394A12 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.2% C 0.082 H 124.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#394A12
RGBrgb(57, 74, 18)
HSLhsl(78, 61%, 18%)
HSVhsv(78, 76%, 29%)
CMYKcmyk(23%, 0%, 75.7%, 71%)
CIE-LABlab(28.93, -16.26, 29.84)
CIE-LCHlch(28.93, 33.99, 118.59°)
OKLaboklab(38.18% -0.0469 0.0674)
OKLCHoklch(38.18% 0.082 124.8)
XYZxyz(4.2453, 5.8110, 1.4701)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A12 #23124A
analogous
#4A3F12 #394A12 #1D4A12
triadic
#394A12 #12394A #4A1239
tetradic
#394A12 #124A3F #23124A #4A121D
square
#394A12 #124A3F #23124A #4A121D
split-complementary
#394A12 #121D4A #3F124A
monochromatic
#131906 #131906 #394A12 #5F7B1E #85AC2A

Accessibility & contrast

On white

9.71
#394A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394A12
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A12#FFFFFF#000000##FFFFFF
##394A121.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394a12;
/* rgb */ color: rgb(57, 74, 18);
/* oklch */ color: oklch(38.2% 0.082 124.8);
Tailwind
colors: {
  custom: {
    50: '#717c54',
    500: '#394a12',
    950: '#000000',
  },
}
SCSS
$custom: #394a12;
$custom-light: #717c54;
$custom-dark: #000000;
JSON
{
  "hex": "#394a12",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 78.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.0821,
    "h": 124.8
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#394A12
secondary
#4D3583
accent
#44E474
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394A12

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

Preview Lab → · Contrast checker → · Palette generator →

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