#3F5017#3F5017

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

Color values

HEX#3F5017
RGBrgb(63, 80, 23)
HSLhsl(78, 55%, 20%)
HSVhsv(78, 71%, 31%)
CMYKcmyk(21.2%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.48, -16.38, 30.29)
CIE-LCHlch(31.48, 34.43, 118.41°)
OKLaboklab(40.37% -0.0471 0.069)
OKLCHoklch(40.37% 0.084 124.3)
XYZxyz(5.0732, 6.8559, 1.8665)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5017 #281750
analogous
#504517 #3F5017 #225017
triadic
#3F5017 #173F50 #50173F
tetradic
#3F5017 #175045 #281750 #501722
square
#3F5017 #175045 #281750 #501722
split-complementary
#3F5017 #172250 #451750
monochromatic
#131807 #1A2009 #3F5017 #648025 #8AAF32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5017#FFFFFF#000000##FFFFFF
##3F50171.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)
#554B0F
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#424C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f5017;
/* rgb */ color: rgb(63, 80, 23);
/* oklch */ color: oklch(40.4% 0.084 124.3);
Tailwind
colors: {
  custom: {
    50: '#768157',
    500: '#3f5017',
    950: '#000000',
  },
}
SCSS
$custom: #3f5017;
$custom-light: #768157;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5017",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 77.895,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.08356,
    "h": 124.3
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#3F5017
secondary
#523C87
accent
#49DF76
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5017

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

Preview Lab → · Contrast checker → · Palette generator →

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