#394717#394717

#394717 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.4% C 0.073 H 123.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#394717
RGBrgb(57, 71, 23)
HSLhsl(78, 51%, 18%)
HSVhsv(78, 68%, 28%)
CMYKcmyk(19.7%, 0%, 67.6%, 72.2%)
CIE-LABlab(27.95, -14.14, 26.34)
CIE-LCHlch(27.95, 29.89, 118.24°)
OKLaboklab(37.4% -0.0405 0.0608)
OKLCHoklch(37.4% 0.073 123.7)
XYZxyz(4.0953, 5.4382, 1.6444)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394717 #251747
analogous
#473D17 #394717 #214717
triadic
#394717 #173947 #471739
tetradic
#394717 #17473D #251747 #471721
square
#394717 #17473D #251747 #471721
split-complementary
#394717 #172147 #3D1747
monochromatic
#131707 #141908 #394717 #5E7526 #83A335

Accessibility & contrast

On white

10.06
#394717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#394717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394717
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394717#FFFFFF#000000##FFFFFF
##3947171.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4211
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#3C433D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #394717;
/* rgb */ color: rgb(57, 71, 23);
/* oklch */ color: oklch(37.4% 0.073 123.7);
Tailwind
colors: {
  custom: {
    50: '#717a56',
    500: '#394717',
    950: '#000000',
  },
}
SCSS
$custom: #394717;
$custom-light: #717a56;
$custom-dark: #000000;
JSON
{
  "hex": "#394717",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 77.5,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37401,
    "c": 0.07303,
    "h": 123.7
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#394717
secondary
#4F3C7E
accent
#4DDB76
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394717

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

Preview Lab → · Contrast checker → · Palette generator →

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