#395512#395512

#395512 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.098 H 129.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#395512
RGBrgb(57, 85, 18)
HSLhsl(85, 65%, 20%)
HSVhsv(85, 79%, 33%)
CMYKcmyk(32.9%, 0%, 78.8%, 66.7%)
CIE-LABlab(32.72, -22.11, 33.66)
CIE-LCHlch(32.72, 40.27, 123.30°)
OKLaboklab(41.26% -0.0629 0.0754)
OKLCHoklch(41.26% 0.098 129.8)
XYZxyz(5.0450, 7.4104, 1.7367)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395512 #2E1255
analogous
#555012 #395512 #175512
triadic
#395512 #123955 #551239
tetradic
#395512 #125550 #2E1255 #551217
square
#395512 #125550 #2E1255 #551217
split-complementary
#395512 #121755 #501255
monochromatic
#111905 #172207 #395512 #5B881D #7DBA27

Accessibility & contrast

On white

8.46
#395512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#395512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395512
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395512#FFFFFF#000000##FFFFFF
##3955121.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#3B5148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #395512;
/* rgb */ color: rgb(57, 85, 18);
/* oklch */ color: oklch(41.3% 0.098 129.8);
Tailwind
colors: {
  custom: {
    50: '#728555',
    500: '#395512',
    950: '#000000',
  },
}
SCSS
$custom: #395512;
$custom-light: #728555;
$custom-dark: #000000;
JSON
{
  "hex": "#395512",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 85.075,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.09818,
    "h": 129.8
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#395512
secondary
#5A358E
accent
#40E886
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395512

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

Preview Lab → · Contrast checker → · Palette generator →

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