#3F5010#3F5010

#3F5010 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.089 H 123.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3F5010
RGBrgb(63, 80, 16)
HSLhsl(76, 67%, 19%)
HSVhsv(76, 80%, 31%)
CMYKcmyk(21.2%, 0%, 80%, 68.6%)
CIE-LABlab(31.42, -16.90, 33.34)
CIE-LCHlch(31.42, 37.38, 116.88°)
OKLaboklab(40.3% -0.0492 0.0742)
OKLCHoklch(40.3% 0.089 123.6)
XYZxyz(5.0121, 6.8315, 1.5447)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5010 #211050
analogous
#504110 #3F5010 #1F5010
triadic
#3F5010 #103F50 #50103F
tetradic
#3F5010 #105041 #211050 #50101F
square
#3F5010 #105041 #211050 #50101F
split-complementary
#3F5010 #101F50 #411050
monochromatic
#141A05 #171D06 #3F5010 #67831A #8FB624

Accessibility & contrast

On white

8.87
#3F5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3F5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5010
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5010#FFFFFF#000000##FFFFFF
##3F50101.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#434C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f5010;
/* rgb */ color: rgb(63, 80, 16);
/* oklch */ color: oklch(40.3% 0.089 123.6);
Tailwind
colors: {
  custom: {
    50: '#768153',
    500: '#3f5010',
    950: '#000000',
  },
}
SCSS
$custom: #3f5010;
$custom-light: #768153;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5010",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 75.938,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.08907,
    "h": 123.6
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#3F5010
secondary
#49328A
accent
#3EEA6C
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5010

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

Preview Lab → · Contrast checker → · Palette generator →

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