#394B0C#394B0C

#394B0C is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.4% C 0.088 H 124.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#394B0C
RGBrgb(57, 75, 12)
HSLhsl(77, 72%, 17%)
HSVhsv(77, 84%, 29%)
CMYKcmyk(24%, 0%, 84%, 70.6%)
CIE-LABlab(29.23, -17.22, 32.66)
CIE-LCHlch(29.23, 36.92, 117.80°)
OKLaboklab(38.41% -0.0501 0.0722)
OKLCHoklch(38.41% 0.088 124.7)
XYZxyz(4.2698, 5.9285, 1.2671)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394B0C #1E0C4B
analogous
#4B3E0C #394B0C #1A4B0C
triadic
#394B0C #0C394B #4B0C39
tetradic
#394B0C #0C4B3E #1E0C4B #4B0C1A
square
#394B0C #0C4B3E #1E0C4B #4B0C1A
split-complementary
#394B0C #0C1A4B #3E0C4B
monochromatic
#141A04 #141A04 #394B0C #618014 #89B51D

Accessibility & contrast

On white

9.61
#394B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#394B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394B0C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394B0C#FFFFFF#000000##FFFFFF
##394B0C1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504501
Deuteranopia (green-blind)
#4D4512
Tritanopia (blue-blind)
#3C473F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #394b0c;
/* rgb */ color: rgb(57, 75, 12);
/* oklch */ color: oklch(38.4% 0.088 124.7);
Tailwind
colors: {
  custom: {
    50: '#727d51',
    500: '#394b0c',
    950: '#000000',
  },
}
SCSS
$custom: #394b0c;
$custom-light: #727d51;
$custom-dark: #000000;
JSON
{
  "hex": "#394b0c",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 77.143,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.08788,
    "h": 124.7
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#394B0C
secondary
#462C87
accent
#39EF6D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #394B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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