#394312#394312

#394312 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.2% C 0.072 H 120.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#394312
RGBrgb(57, 67, 18)
HSLhsl(72, 58%, 17%)
HSVhsv(72, 73%, 26%)
CMYKcmyk(14.9%, 0%, 73.1%, 73.7%)
CIE-LABlab(26.53, -12.29, 27.35)
CIE-LCHlch(26.53, 29.98, 114.19°)
OKLaboklab(36.24% -0.0359 0.0622)
OKLCHoklch(36.24% 0.072 120)
XYZxyz(3.8037, 4.9279, 1.3229)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394312 #1C1243
analogous
#433512 #394312 #214312
triadic
#394312 #123943 #431239
tetradic
#394312 #124335 #1C1243 #431221
square
#394312 #124335 #1C1243 #431221
split-complementary
#394312 #122143 #351243
monochromatic
#151806 #151806 #394312 #62731F #8BA32C

Accessibility & contrast

On white

10.58
#394312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#394312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394312
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394312#FFFFFF#000000##FFFFFF
##3943121.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#463F16
Tritanopia (blue-blind)
#3D3F39
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #394312;
/* rgb */ color: rgb(57, 67, 18);
/* oklch */ color: oklch(36.2% 0.072 120.0);
Tailwind
colors: {
  custom: {
    50: '#717753',
    500: '#394312',
    950: '#000000',
  },
}
SCSS
$custom: #394312;
$custom-light: #717753;
$custom-dark: #000000;
JSON
{
  "hex": "#394312",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 72.245,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36241,
    "c": 0.07176,
    "h": 120
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#394312
secondary
#43357C
accent
#47E166
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #394312

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

Preview Lab → · Contrast checker → · Palette generator →

#394312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva