#3F5216#3F5216

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

Color values

HEX#3F5216
RGBrgb(63, 82, 22)
HSLhsl(79, 58%, 20%)
HSVhsv(79, 73%, 32%)
CMYKcmyk(23.2%, 0%, 73.2%, 67.8%)
CIE-LABlab(32.14, -17.56, 31.46)
CIE-LCHlch(32.14, 36.03, 119.17°)
OKLaboklab(40.91% -0.0504 0.0713)
OKLCHoklch(40.91% 0.087 125.3)
XYZxyz(5.2120, 7.1492, 1.8642)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5216 #291652
analogous
#524716 #3F5216 #215216
triadic
#3F5216 #163F52 #52163F
tetradic
#3F5216 #165247 #291652 #521621
square
#3F5216 #165247 #291652 #521621
split-complementary
#3F5216 #162152 #471652
monochromatic
#131806 #1A2209 #3F5216 #648223 #89B330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5216#FFFFFF#000000##FFFFFF
##3F52161.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)
#574C0D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#424E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5216;
/* rgb */ color: rgb(63, 82, 22);
/* oklch */ color: oklch(40.9% 0.087 125.3);
Tailwind
colors: {
  custom: {
    50: '#768257',
    500: '#3f5216',
    950: '#000000',
  },
}
SCSS
$custom: #3f5216;
$custom-light: #768257;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5216",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 79,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40905,
    "c": 0.08737,
    "h": 125.3
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#3F5216
secondary
#533A89
accent
#47E178
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5216

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

Preview Lab → · Contrast checker → · Palette generator →

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