#395211#395211

#395211 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.4% C 0.095 H 128.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#395211
RGBrgb(57, 82, 17)
HSLhsl(83, 66%, 19%)
HSVhsv(83, 79%, 32%)
CMYKcmyk(30.5%, 0%, 79.3%, 67.8%)
CIE-LABlab(31.68, -20.63, 33.04)
CIE-LCHlch(31.68, 38.96, 121.98°)
OKLaboklab(40.41% -0.0589 0.0739)
OKLCHoklch(40.41% 0.095 128.6)
XYZxyz(4.8058, 6.9448, 1.6175)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395211 #2A1152
analogous
#524B11 #395211 #195211
triadic
#395211 #113952 #521139
tetradic
#395211 #11524B #2A1152 #521119
square
#395211 #11524B #2A1152 #521119
split-complementary
#395211 #111952 #4B1152
monochromatic
#121905 #161F06 #395211 #5C851C #7FB726

Accessibility & contrast

On white

8.79
#395211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#395211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395211
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395211#FFFFFF#000000##FFFFFF
##3952111.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C06
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#3B4E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395211;
/* rgb */ color: rgb(57, 82, 17);
/* oklch */ color: oklch(40.4% 0.095 128.6);
Tailwind
colors: {
  custom: {
    50: '#728254',
    500: '#395211',
    950: '#000000',
  },
}
SCSS
$custom: #395211;
$custom-light: #728254;
$custom-dark: #000000;
JSON
{
  "hex": "#395211",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 83.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.09456,
    "h": 128.6
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#395211
secondary
#55348B
accent
#3FE980
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395211

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

Preview Lab → · Contrast checker → · Palette generator →

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