#394918#394918

#394918 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 38.0% C 0.075 H 125.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#394918
RGBrgb(57, 73, 24)
HSLhsl(80, 51%, 19%)
HSVhsv(80, 67%, 29%)
CMYKcmyk(21.9%, 0%, 67.1%, 71.4%)
CIE-LABlab(28.64, -15.18, 26.59)
CIE-LCHlch(28.64, 30.61, 119.72°)
OKLaboklab(37.97% -0.0432 0.0615)
OKLCHoklch(37.97% 0.075 125.1)
XYZxyz(4.2348, 5.7008, 1.7412)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394918 #281849
analogous
#494118 #394918 #214918
triadic
#394918 #183949 #491839
tetradic
#394918 #184941 #281849 #491821
square
#394918 #184941 #281849 #491821
split-complementary
#394918 #182149 #411849
monochromatic
#121708 #151B09 #394918 #5D7727 #81A536

Accessibility & contrast

On white

9.81
#394918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#394918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394918
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394918#FFFFFF#000000##FFFFFF
##3949181.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#4B431B
Tritanopia (blue-blind)
#3C453F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #394918;
/* rgb */ color: rgb(57, 73, 24);
/* oklch */ color: oklch(38.0% 0.075 125.1);
Tailwind
colors: {
  custom: {
    50: '#717b57',
    500: '#394918',
    950: '#000000',
  },
}
SCSS
$custom: #394918;
$custom-light: #717b57;
$custom-dark: #000000;
JSON
{
  "hex": "#394918",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 79.592,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.07514,
    "h": 125.1
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#394918
secondary
#533D80
accent
#4EDA7C
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394918

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

Preview Lab → · Contrast checker → · Palette generator →

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