#3F510F#3F510F

#3F510F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.091 H 124.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F510F
RGBrgb(63, 81, 15)
HSLhsl(76, 69%, 19%)
HSVhsv(76, 81%, 32%)
CMYKcmyk(22.2%, 0%, 81.5%, 68.2%)
CIE-LABlab(31.75, -17.51, 34.06)
CIE-LCHlch(31.75, 38.30, 117.20°)
OKLaboklab(40.57% -0.051 0.0755)
OKLCHoklch(40.57% 0.091 124)
XYZxyz(5.0786, 6.9761, 1.5308)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F510F #210F51
analogous
#51420F #3F510F #1E510F
triadic
#3F510F #0F3F51 #510F3F
tetradic
#3F510F #0F5142 #210F51 #510F1E
square
#3F510F #0F5142 #210F51 #510F1E
split-complementary
#3F510F #0F1E51 #420F51
monochromatic
#141A05 #171D05 #3F510F #678519 #8FB822

Accessibility & contrast

On white

8.77
#3F510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F510F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F510F#FFFFFF#000000##FFFFFF
##3F510F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#424D44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f510f;
/* rgb */ color: rgb(63, 81, 15);
/* oklch */ color: oklch(40.6% 0.091 124.0);
Tailwind
colors: {
  custom: {
    50: '#768253',
    500: '#3f510f',
    950: '#000000',
  },
}
SCSS
$custom: #3f510f;
$custom-light: #768253;
$custom-dark: #000000;
JSON
{
  "hex": "#3f510f",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 76.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.09114,
    "h": 124
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#3F510F
secondary
#49318B
accent
#3CEC6C
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F510F

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

Preview Lab → · Contrast checker → · Palette generator →

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