#395212#395212

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

Color values

HEX#395212
RGBrgb(57, 82, 18)
HSLhsl(83, 64%, 20%)
HSVhsv(83, 78%, 32%)
CMYKcmyk(30.5%, 0%, 78%, 67.8%)
CIE-LABlab(31.69, -20.56, 32.63)
CIE-LCHlch(31.69, 38.57, 122.21°)
OKLaboklab(40.41% -0.0586 0.0733)
OKLCHoklch(40.41% 0.094 128.7)
XYZxyz(4.8138, 6.9480, 1.6596)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395212 #2B1252
analogous
#524B12 #395212 #195212
triadic
#395212 #123952 #521239
tetradic
#395212 #12524B #2B1252 #521219
square
#395212 #12524B #2B1252 #521219
split-complementary
#395212 #121952 #4B1252
monochromatic
#111906 #162007 #395212 #5C841D #7FB628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##395212#FFFFFF#000000##FFFFFF
##3952121.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)
#564C07
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#3B4E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395212;
/* rgb */ color: rgb(57, 82, 18);
/* oklch */ color: oklch(40.4% 0.094 128.7);
Tailwind
colors: {
  custom: {
    50: '#728255',
    500: '#395212',
    950: '#000000',
  },
}
SCSS
$custom: #395212;
$custom-light: #728255;
$custom-dark: #000000;
JSON
{
  "hex": "#395212",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 83.438,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.09384,
    "h": 128.7
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#395212
secondary
#57358B
accent
#41E782
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395212

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

Preview Lab → · Contrast checker → · Palette generator →

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