#394D0F#394D0F

#394D0F is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.0% C 0.089 H 126.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#394D0F
RGBrgb(57, 77, 15)
HSLhsl(79, 67%, 18%)
HSVhsv(79, 81%, 30%)
CMYKcmyk(26%, 0%, 80.5%, 69.8%)
CIE-LABlab(29.94, -18.12, 32.16)
CIE-LCHlch(29.94, 36.91, 119.40°)
OKLaboklab(38.99% -0.0523 0.0717)
OKLCHoklch(38.99% 0.089 126.1)
XYZxyz(4.4275, 6.2120, 1.4176)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D0F #230F4D
analogous
#4D420F #394D0F #1A4D0F
triadic
#394D0F #0F394D #4D0F39
tetradic
#394D0F #0F4D42 #230F4D #4D0F1A
square
#394D0F #0F4D42 #230F4D #4D0F1A
split-complementary
#394D0F #0F1A4D #420F4D
monochromatic
#131A05 #131A05 #394D0F #5F8019 #85B323

Accessibility & contrast

On white

9.36
#394D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#394D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D0F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D0F#FFFFFF#000000##FFFFFF
##394D0F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524704
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#3C4941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394d0f;
/* rgb */ color: rgb(57, 77, 15);
/* oklch */ color: oklch(39.0% 0.089 126.1);
Tailwind
colors: {
  custom: {
    50: '#727f52',
    500: '#394d0f',
    950: '#000000',
  },
}
SCSS
$custom: #394d0f;
$custom-light: #727f52;
$custom-dark: #000000;
JSON
{
  "hex": "#394d0f",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 79.355,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.08874,
    "h": 126.1
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#394D0F
secondary
#4D3187
accent
#3EEA75
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #394D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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