#3F5512#3F5512

#3F5512 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.7% C 0.095 H 126.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3F5512
RGBrgb(63, 85, 18)
HSLhsl(80, 65%, 20%)
HSVhsv(80, 79%, 33%)
CMYKcmyk(25.9%, 0%, 78.8%, 66.7%)
CIE-LABlab(33.13, -19.46, 34.20)
CIE-LCHlch(33.13, 39.35, 119.64°)
OKLaboklab(41.69% -0.0561 0.0764)
OKLCHoklch(41.69% 0.095 126.3)
XYZxyz(5.4076, 7.5973, 1.7537)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5512 #281255
analogous
#554912 #3F5512 #1E5512
triadic
#3F5512 #123F55 #55123F
tetradic
#3F5512 #125549 #281255 #55121E
square
#3F5512 #125549 #281255 #55121E
split-complementary
#3F5512 #121E55 #491255
monochromatic
#131905 #1A2207 #3F5512 #64881D #8ABA27

Accessibility & contrast

On white

8.34
#3F5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3F5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5512
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5512#FFFFFF#000000##FFFFFF
##3F55121.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#425148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f5512;
/* rgb */ color: rgb(63, 85, 18);
/* oklch */ color: oklch(41.7% 0.095 126.3);
Tailwind
colors: {
  custom: {
    50: '#778555',
    500: '#3f5512',
    950: '#000000',
  },
}
SCSS
$custom: #3f5512;
$custom-light: #778555;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5512",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 79.701,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.09475,
    "h": 126.3
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#3F5512
secondary
#52358E
accent
#40E877
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5512

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

Preview Lab → · Contrast checker → · Palette generator →

#3F5512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva