#395412#395412

#395412 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.097 H 129.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#395412
RGBrgb(57, 84, 18)
HSLhsl(85, 65%, 20%)
HSVhsv(85, 79%, 33%)
CMYKcmyk(32.1%, 0%, 78.6%, 67.1%)
CIE-LABlab(32.38, -21.60, 33.32)
CIE-LCHlch(32.38, 39.71, 122.95°)
OKLaboklab(40.98% -0.0615 0.0747)
OKLCHoklch(40.98% 0.097 129.5)
XYZxyz(4.9668, 7.2540, 1.7106)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395412 #2D1254
analogous
#544E12 #395412 #185412
triadic
#395412 #123954 #541239
tetradic
#395412 #12544E #2D1254 #541218
square
#395412 #12544E #2D1254 #541218
split-complementary
#395412 #121854 #4E1254
monochromatic
#111905 #172207 #395412 #5B861D #7DB928

Accessibility & contrast

On white

8.57
#395412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#395412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395412
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395412#FFFFFF#000000##FFFFFF
##3954121.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#3B5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #395412;
/* rgb */ color: rgb(57, 84, 18);
/* oklch */ color: oklch(41.0% 0.097 129.5);
Tailwind
colors: {
  custom: {
    50: '#728455',
    500: '#395412',
    950: '#000000',
  },
}
SCSS
$custom: #395412;
$custom-light: #728455;
$custom-dark: #000000;
JSON
{
  "hex": "#395412",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 84.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.09674,
    "h": 129.5
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#395412
secondary
#59358D
accent
#40E885
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395412

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

Preview Lab → · Contrast checker → · Palette generator →

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