#394017#394017

#394017 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.5% C 0.062 H 117.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#394017
RGBrgb(57, 64, 23)
HSLhsl(70, 47%, 17%)
HSVhsv(70, 64%, 25%)
CMYKcmyk(10.9%, 0%, 64.1%, 74.9%)
CIE-LABlab(25.56, -10.05, 23.66)
CIE-LCHlch(25.56, 25.71, 113.02°)
OKLaboklab(35.48% -0.029 0.0551)
OKLCHoklch(35.48% 0.062 117.8)
XYZxyz(3.6754, 4.5985, 1.5044)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394017 #1E1740
analogous
#403317 #394017 #254017
triadic
#394017 #173940 #401739
tetradic
#394017 #174033 #1E1740 #401725
square
#394017 #174033 #1E1740 #401725
split-complementary
#394017 #172540 #331740
monochromatic
#141708 #141708 #394017 #616D27 #899A37

Accessibility & contrast

On white

10.94
#394017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#394017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394017
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394017#FFFFFF#000000##FFFFFF
##3940171.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#3C3C37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #394017;
/* rgb */ color: rgb(57, 64, 23);
/* oklch */ color: oklch(35.5% 0.062 117.8);
Tailwind
colors: {
  custom: {
    50: '#717456',
    500: '#394017',
    950: '#000000',
  },
}
SCSS
$custom: #394017;
$custom-light: #717456;
$custom-dark: #000000;
JSON
{
  "hex": "#394017",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 70.244,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35479,
    "c": 0.06227,
    "h": 117.8
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#394017
secondary
#463C77
accent
#51D768
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #394017

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

Preview Lab → · Contrast checker → · Palette generator →

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