#3F520B#3F520B

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

Color values

HEX#3F520B
RGBrgb(63, 82, 11)
HSLhsl(76, 76%, 18%)
HSVhsv(76, 87%, 32%)
CMYKcmyk(23.2%, 0%, 86.6%, 67.8%)
CIE-LABlab(32.07, -18.26, 35.80)
CIE-LCHlch(32.07, 40.19, 117.03°)
OKLaboklab(40.82% -0.0534 0.0785)
OKLCHoklch(40.82% 0.095 124.2)
XYZxyz(5.1277, 7.1155, 1.4198)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F520B #1E0B52
analogous
#52410B #3F520B #1B520B
triadic
#3F520B #0B3F52 #520B3F
tetradic
#3F520B #0B5241 #1E0B52 #520B1B
square
#3F520B #0B5241 #1E0B52 #520B1B
split-complementary
#3F520B #0B1B52 #410B52
monochromatic
#151B04 #161C04 #3F520B #688812 #92BE19

Accessibility & contrast

On white

8.67
#3F520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3F520B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F520B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F520B#FFFFFF#000000##FFFFFF
##3F520B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#554B13
Tritanopia (blue-blind)
#434D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f520b;
/* rgb */ color: rgb(63, 82, 11);
/* oklch */ color: oklch(40.8% 0.095 124.2);
Tailwind
colors: {
  custom: {
    50: '#778251',
    500: '#3f520b',
    950: '#000000',
  },
}
SCSS
$custom: #3f520b;
$custom-light: #778251;
$custom-dark: #000000;
JSON
{
  "hex": "#3f520b",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 76.056,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.09491,
    "h": 124.2
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#3F520B
secondary
#452B8E
accent
#35F368
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3F520B

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

Preview Lab → · Contrast checker → · Palette generator →

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