#3F5217#3F5217

#3F5217 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.087 H 125.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3F5217
RGBrgb(63, 82, 23)
HSLhsl(79, 56%, 21%)
HSVhsv(79, 72%, 32%)
CMYKcmyk(23.2%, 0%, 72%, 67.8%)
CIE-LABlab(32.15, -17.48, 31.00)
CIE-LCHlch(32.15, 35.59, 119.41°)
OKLaboklab(40.92% -0.0501 0.0705)
OKLCHoklch(40.92% 0.087 125.4)
XYZxyz(5.2219, 7.1531, 1.9160)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5217 #2A1752
analogous
#524717 #3F5217 #215217
triadic
#3F5217 #173F52 #52173F
tetradic
#3F5217 #175247 #2A1752 #521721
square
#3F5217 #175247 #2A1752 #521721
split-complementary
#3F5217 #172152 #471752
monochromatic
#121807 #1A220A #3F5217 #648224 #88B232

Accessibility & contrast

On white

8.64
#3F5217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F5217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5217
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5217#FFFFFF#000000##FFFFFF
##3F52171.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#424E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5217;
/* rgb */ color: rgb(63, 82, 23);
/* oklch */ color: oklch(40.9% 0.087 125.4);
Tailwind
colors: {
  custom: {
    50: '#768258',
    500: '#3f5217',
    950: '#000000',
  },
}
SCSS
$custom: #3f5217;
$custom-light: #768258;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5217",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 79.322,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.08652,
    "h": 125.4
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#3F5217
secondary
#553C89
accent
#48DF79
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5217

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

Preview Lab → · Contrast checker → · Palette generator →

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