#3F5016#3F5016

#3F5016 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.4% C 0.084 H 124.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3F5016
RGBrgb(63, 80, 22)
HSLhsl(78, 57%, 20%)
HSVhsv(78, 73%, 31%)
CMYKcmyk(21.2%, 0%, 72.5%, 68.6%)
CIE-LABlab(31.47, -16.47, 30.75)
CIE-LCHlch(31.47, 34.88, 118.17°)
OKLaboklab(40.36% -0.0474 0.0698)
OKLCHoklch(40.36% 0.084 124.2)
XYZxyz(5.0634, 6.8520, 1.8147)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5016 #271650
analogous
#504416 #3F5016 #225016
triadic
#3F5016 #163F50 #50163F
tetradic
#3F5016 #165044 #271650 #501622
square
#3F5016 #165044 #271650 #501622
split-complementary
#3F5016 #162250 #441650
monochromatic
#131807 #192009 #3F5016 #658023 #8BB030

Accessibility & contrast

On white

8.86
#3F5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3F5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5016
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5016#FFFFFF#000000##FFFFFF
##3F50161.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#424C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f5016;
/* rgb */ color: rgb(63, 80, 22);
/* oklch */ color: oklch(40.4% 0.084 124.2);
Tailwind
colors: {
  custom: {
    50: '#768157',
    500: '#3f5016',
    950: '#000000',
  },
}
SCSS
$custom: #3f5016;
$custom-light: #768157;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5016",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 77.586,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.08442,
    "h": 124.2
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#3F5016
secondary
#513A87
accent
#48E074
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5016

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

Preview Lab → · Contrast checker → · Palette generator →

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