#3F5015#3F5015

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

Color values

HEX#3F5015
RGBrgb(63, 80, 21)
HSLhsl(77, 58%, 20%)
HSVhsv(77, 74%, 31%)
CMYKcmyk(21.2%, 0%, 73.7%, 68.6%)
CIE-LABlab(31.46, -16.54, 31.21)
CIE-LCHlch(31.46, 35.32, 117.93°)
OKLaboklab(40.35% -0.0478 0.0706)
OKLCHoklch(40.35% 0.085 124.1)
XYZxyz(5.0540, 6.8482, 1.7649)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5015 #261550
analogous
#504415 #3F5015 #225015
triadic
#3F5015 #153F50 #50153F
tetradic
#3F5015 #155044 #261550 #501522
square
#3F5015 #155044 #261550 #501522
split-complementary
#3F5015 #152250 #441550
monochromatic
#131806 #192008 #3F5015 #658022 #8BB12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5015#FFFFFF#000000##FFFFFF
##3F50151.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)
#554B0C
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#424C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f5015;
/* rgb */ color: rgb(63, 80, 21);
/* oklch */ color: oklch(40.3% 0.085 124.1);
Tailwind
colors: {
  custom: {
    50: '#768156',
    500: '#3f5015',
    950: '#000000',
  },
}
SCSS
$custom: #3f5015;
$custom-light: #768156;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5015",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 77.288,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40348,
    "c": 0.08527,
    "h": 124.1
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#3F5015
secondary
#503988
accent
#46E273
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5015

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

Preview Lab → · Contrast checker → · Palette generator →

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