#3F5014#3F5014

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

Color values

HEX#3F5014
RGBrgb(63, 80, 20)
HSLhsl(77, 60%, 20%)
HSVhsv(77, 75%, 31%)
CMYKcmyk(21.2%, 0%, 75%, 68.6%)
CIE-LABlab(31.45, -16.62, 31.66)
CIE-LCHlch(31.45, 35.76, 117.70°)
OKLaboklab(40.34% -0.0481 0.0714)
OKLCHoklch(40.34% 0.086 124)
XYZxyz(5.0449, 6.8446, 1.7170)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5014 #251450
analogous
#504314 #3F5014 #215014
triadic
#3F5014 #143F50 #50143F
tetradic
#3F5014 #145043 #251450 #501421
square
#3F5014 #145043 #251450 #501421
split-complementary
#3F5014 #142150 #431450
monochromatic
#131806 #181F08 #3F5014 #668120 #8CB22C

Accessibility & contrast

On white

8.86
#3F5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F5014
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5014#FFFFFF#000000##FFFFFF
##3F50141.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0B
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#424C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f5014;
/* rgb */ color: rgb(63, 80, 20);
/* oklch */ color: oklch(40.3% 0.086 124.0);
Tailwind
colors: {
  custom: {
    50: '#768156',
    500: '#3f5014',
    950: '#000000',
  },
}
SCSS
$custom: #3f5014;
$custom-light: #768156;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5014",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 77,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.08608,
    "h": 124
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#3F5014
secondary
#4E3888
accent
#45E372
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5014

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

Preview Lab → · Contrast checker → · Palette generator →

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