#3F520F#3F520F

#3F520F is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.093 H 124.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3F520F
RGBrgb(63, 82, 15)
HSLhsl(77, 69%, 19%)
HSVhsv(77, 82%, 32%)
CMYKcmyk(23.2%, 0%, 81.7%, 67.8%)
CIE-LABlab(32.09, -18.05, 34.38)
CIE-LCHlch(32.09, 38.83, 117.69°)
OKLaboklab(40.85% -0.0525 0.0762)
OKLCHoklch(40.85% 0.093 124.5)
XYZxyz(5.1535, 7.1258, 1.5558)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F520F #220F52
analogous
#52440F #3F520F #1E520F
triadic
#3F520F #0F3F52 #520F3F
tetradic
#3F520F #0F5244 #220F52 #520F1E
square
#3F520F #0F5244 #220F52 #520F1E
split-complementary
#3F520F #0F1E52 #440F52
monochromatic
#141A05 #171E06 #3F520F #678618 #8EB922

Accessibility & contrast

On white

8.66
#3F520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F520F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F520F#FFFFFF#000000##FFFFFF
##3F520F1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#554B15
Tritanopia (blue-blind)
#424E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f520f;
/* rgb */ color: rgb(63, 82, 15);
/* oklch */ color: oklch(40.8% 0.093 124.5);
Tailwind
colors: {
  custom: {
    50: '#778253',
    500: '#3f520f',
    950: '#000000',
  },
}
SCSS
$custom: #3f520f;
$custom-light: #778253;
$custom-dark: #000000;
JSON
{
  "hex": "#3f520f",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 77.015,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.09254,
    "h": 124.5
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#3F520F
secondary
#4B318C
accent
#3CEC6E
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F520F

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

Preview Lab → · Contrast checker → · Palette generator →

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