#394F0F#394F0F

#394F0F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.092 H 127.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#394F0F
RGBrgb(57, 79, 15)
HSLhsl(81, 68%, 18%)
HSVhsv(81, 81%, 31%)
CMYKcmyk(27.8%, 0%, 81%, 69%)
CIE-LABlab(30.63, -19.19, 32.83)
CIE-LCHlch(30.63, 38.03, 120.30°)
OKLaboklab(39.55% -0.0552 0.0731)
OKLCHoklch(39.55% 0.092 127)
XYZxyz(4.5696, 6.4962, 1.4650)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F0F #250F4F
analogous
#4F450F #394F0F #194F0F
triadic
#394F0F #0F394F #4F0F39
tetradic
#394F0F #0F4F45 #250F4F #4F0F19
square
#394F0F #0F4F45 #250F4F #4F0F19
split-complementary
#394F0F #0F194F #450F4F
monochromatic
#131A05 #141C05 #394F0F #5E8219 #83B623

Accessibility & contrast

On white

9.13
#394F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#394F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394F0F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F0F#FFFFFF#000000##FFFFFF
##394F0F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#3C4B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394f0f;
/* rgb */ color: rgb(57, 79, 15);
/* oklch */ color: oklch(39.5% 0.092 127.0);
Tailwind
colors: {
  custom: {
    50: '#728053',
    500: '#394f0f',
    950: '#000000',
  },
}
SCSS
$custom: #394f0f;
$custom-light: #728053;
$custom-dark: #000000;
JSON
{
  "hex": "#394f0f",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 80.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39549,
    "c": 0.09162,
    "h": 127
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#394F0F
secondary
#4F3189
accent
#3DEB79
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #394F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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