#393E12#393E12

#393E12 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 34.9% C 0.065 H 115.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#393E12
RGBrgb(57, 62, 18)
HSLhsl(67, 55%, 16%)
HSVhsv(67, 71%, 24%)
CMYKcmyk(8.1%, 0%, 71%, 75.7%)
CIE-LABlab(24.82, -9.31, 25.53)
CIE-LCHlch(24.82, 27.18, 110.04°)
OKLaboklab(34.87% -0.0276 0.0583)
OKLCHoklch(34.87% 0.065 115.3)
XYZxyz(3.5192, 4.3588, 1.2281)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E12 #17123E
analogous
#3E2D12 #393E12 #233E12
triadic
#393E12 #12393E #3E1239
tetradic
#393E12 #123E2D #17123E #3E1223
square
#393E12 #123E2D #17123E #3E1223
split-complementary
#393E12 #12233E #2D123E
monochromatic
#161807 #161807 #393E12 #656D20 #909D2E

Accessibility & contrast

On white

11.22
#393E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#393E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E12
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E12#FFFFFF#000000##FFFFFF
##393E121.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0D
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#3D3A35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #393e12;
/* rgb */ color: rgb(57, 62, 18);
/* oklch */ color: oklch(34.9% 0.065 115.3);
Tailwind
colors: {
  custom: {
    50: '#717352',
    500: '#393e12',
    950: '#000000',
  },
}
SCSS
$custom: #393e12;
$custom-light: #717352;
$custom-dark: #000000;
JSON
{
  "hex": "#393e12",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 66.818,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34872,
    "c": 0.06451,
    "h": 115.3
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#393E12
secondary
#3C3577
accent
#49DE5A
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #393E12

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

Preview Lab → · Contrast checker → · Palette generator →

#393E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva