Skip to content

#393d06

a deep, electric yellow · warm · closest name: Dark Olive Green

RGB
57, 61, 6
HSL
64°, 82%, 13%
CMYK
7, 0, 90, 76
Luminance
0.0422

At a glance

Every number on this page in one read: what #393d06 is made of, how bright it looks, and which way it leans.

Hex
#393d06
Hue
64°
yellow
Saturation
82%
electric
Lightness
13%
deep
Brightness
24%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0422
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
11.39:1
Closest name
Dark Olive Green
ΔE2000 15.6
Where it sits
Hue64° of 360°
Saturation82%
Lightness13%
Temperature
Warm ← → Cool29% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#393d06
RGBrgb(57, 61, 6)
HSLhsl(64, 82%, 13%)
CMYKcmyk(7%, 0%, 90%, 76%)
LABlab(24.4 -9.5 30.5)
LCHlch(24.4 31.9 107.3)
OKLCHoklch(0.345 0.073 113.9)
Decimal3751174
Display P3color(display-p3 0.224 0.239 0.024)

Copy-ready code

/* CSS */
color: #393d06;
background-color: #393d06;
/* Tailwind (arbitrary) */
class="text-[#393d06] bg-[#393d06]"
/* SCSS */
$brand: #393d06;
/* SwiftUI */
Color(red: 0.224, green: 0.239, blue: 0.024)
/* Android */
Color.parseColor("#393d06")
/* Flutter */
Color(0xFF393D06)
/* Python / OpenCV (BGR) */
(6, 61, 57)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #393d06 · 11.39:1
Use #ffffffAAA at every size.
Aa
White text · 11.39:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.84:1
AA fail · AA large fail · AAA fail
Reading the other direction: #393d06 as text scores 11.39:1 on white and 1.84:1 on black.

Accessibility — WCAG contrast

Aa
#393d06 on white: 11.39:1
AA ✓ pass · AA-large · AAA
Aa
#393d06 on black: 1.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #423900
deuteranopia · #423A0B
tritanopia · #3E3933

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #393d06 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFCF2
#F8FAE6
#F2F6C6
#EEF599
#E6F066
#DDEB33
#D0DF16
#ADBA12
#8B950F
#656B0F
#393d06
Base = 950Lightest = 50 · #FCFCF2Darkest = 950 · #393d06
:root {
  --brand-50: #FCFCF2;
  --brand-100: #F8FAE6;
  --brand-200: #F2F6C6;
  --brand-300: #EEF599;
  --brand-400: #E6F066;
  --brand-500: #DDEB33;
  --brand-600: #D0DF16;
  --brand-700: #ADBA12;
  --brand-800: #8B950F;
  --brand-900: #656B0F;
  --brand-950: #393d06;
  --brand: #393d06;
  --brand-ink: #ffffff;
}

Colors that work with #393d06

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAFAF4
Tinted page background
Border#E9EDC0
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#050F3E
Second voice, not a rival
Dark variant#6C740B
Hover, pressed, headers
Light variant#FBFDE8
Selected rows, tints
Dark surface#232414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #393d06

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#0A063D
Analogous left#3D2506
Analogous right#1D3D06
Split-complement 1#061D3D
Split-complement 2#25063D
Triadic 1#06393D
Triadic 2#3D0639
Tetradic#063D25

RGB percentages

Red22.4%
Green23.9%
Blue2.4%

CMYK percentages

Cyan6.6%
Magenta0.0%
Yellow90.2%
Key (black)76.1%

Color previews

#393d06 text on a black background

contrast 1.84:1

Card sample

#393d06 text on a white background

contrast 11.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #393d06;
Background color
Panel with #393d06 background
background-color: #393d06;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #393d06;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 61, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 61, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #393d06;
background: linear-gradient(135deg, #393d06, #143D06);

Monochromatic scale

Palettes built from #393d06

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#393d06 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#393d06, answered

What color is #393d06?

#393d06 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 15.6). It sits at 64° on the hue wheel with 82% saturation and 13% lightness, which reads as warm.

What is the RGB value of #393d06?

rgb(57, 61, 6) — 57 red, 61 green and 6 blue out of 255, or 22.4% / 23.9% / 2.4% by channel.

Is #393d06 a light or a dark color?

It is a dark color. Relative luminance is 0.0422 and perceived brightness is 22%, so white text on it reaches 11.39:1.

Should I use black or white text on #393d06?

White. It scores 11.39:1 against #393d06, versus 1.84:1 for black — AAA at any size.

What is the complementary color of #393d06?

#0A063D sits directly opposite on the wheel. Softer options are the split-complements #061D3D and #25063D, which give the same contrast with far less vibration.

What colors go well with #393d06?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #959B4B for secondary text, #050F3E as an accent and #6C740B for hover and pressed states. For a palette, the analogous pair #3D2506 and #1D3D06 stays calm, while #0A063D is the loudest partner.

What is #393d06 in CMYK for printing?

cmyk(7%, 0%, 90%, 76%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #393d06 warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3D2D06; nudged cooler, #253D05.

Work with #393d06 in the Color Lab