#394112#394112

#394112 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.7% C 0.069 H 118.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#394112
RGBrgb(57, 65, 18)
HSLhsl(70, 57%, 16%)
HSVhsv(70, 72%, 25%)
CMYKcmyk(12.3%, 0%, 72.3%, 74.5%)
CIE-LABlab(25.85, -11.11, 26.62)
CIE-LCHlch(25.85, 28.85, 112.65°)
OKLaboklab(35.69% -0.0326 0.0606)
OKLCHoklch(35.69% 0.069 118.3)
XYZxyz(3.6869, 4.6942, 1.2840)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394112 #1A1241
analogous
#413212 #394112 #224112
triadic
#394112 #123941 #411239
tetradic
#394112 #124132 #1A1241 #411222
square
#394112 #124132 #1A1241 #411222
split-complementary
#394112 #122241 #321241
monochromatic
#151807 #151807 #394112 #63711F #8DA12D

Accessibility & contrast

On white

10.83
#394112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#394112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394112
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394112#FFFFFF#000000##FFFFFF
##3941121.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0C
Deuteranopia (green-blind)
#453D15
Tritanopia (blue-blind)
#3D3D37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #394112;
/* rgb */ color: rgb(57, 65, 18);
/* oklch */ color: oklch(35.7% 0.069 118.3);
Tailwind
colors: {
  custom: {
    50: '#717552',
    500: '#394112',
    950: '#000000',
  },
}
SCSS
$custom: #394112;
$custom-light: #717552;
$custom-dark: #000000;
JSON
{
  "hex": "#394112",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 70.213,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35691,
    "c": 0.06883,
    "h": 118.3
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#394112
secondary
#41357A
accent
#48E062
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #394112

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

Preview Lab → · Contrast checker → · Palette generator →

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