#395312#395312

#395312 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.095 H 129.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#395312
RGBrgb(57, 83, 18)
HSLhsl(84, 64%, 20%)
HSVhsv(84, 78%, 33%)
CMYKcmyk(31.3%, 0%, 78.3%, 67.5%)
CIE-LABlab(32.03, -21.08, 32.98)
CIE-LCHlch(32.03, 39.14, 122.59°)
OKLaboklab(40.7% -0.0601 0.074)
OKLCHoklch(40.7% 0.095 129.1)
XYZxyz(4.8898, 7.0999, 1.6849)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395312 #2C1253
analogous
#534D12 #395312 #195312
triadic
#395312 #123953 #531239
tetradic
#395312 #12534D #2C1253 #531219
square
#395312 #12534D #2C1253 #531219
split-complementary
#395312 #121953 #4D1253
monochromatic
#111905 #162107 #395312 #5C851D #7EB828

Accessibility & contrast

On white

8.68
#395312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#395312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395312
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395312#FFFFFF#000000##FFFFFF
##3953121.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D07
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#3B4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395312;
/* rgb */ color: rgb(57, 83, 18);
/* oklch */ color: oklch(40.7% 0.095 129.1);
Tailwind
colors: {
  custom: {
    50: '#728355',
    500: '#395312',
    950: '#000000',
  },
}
SCSS
$custom: #395312;
$custom-light: #728355;
$custom-dark: #000000;
JSON
{
  "hex": "#395312",
  "rgb": {
    "r": 57,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 84,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.09529,
    "h": 129.1
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#395312
secondary
#58358C
accent
#40E783
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395312

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

Preview Lab → · Contrast checker → · Palette generator →

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