#3F5115#3F5115

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

Color values

HEX#3F5115
RGBrgb(63, 81, 21)
HSLhsl(78, 59%, 20%)
HSVhsv(78, 74%, 32%)
CMYKcmyk(22.2%, 0%, 74.1%, 68.2%)
CIE-LABlab(31.80, -17.09, 31.56)
CIE-LCHlch(31.80, 35.89, 118.44°)
OKLaboklab(40.62% -0.0493 0.0714)
OKLCHoklch(40.62% 0.087 124.6)
XYZxyz(5.1277, 6.9957, 1.7895)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5115 #271551
analogous
#514515 #3F5115 #215115
triadic
#3F5115 #153F51 #51153F
tetradic
#3F5115 #155145 #271551 #511521
square
#3F5115 #155145 #271551 #511521
split-complementary
#3F5115 #152151 #451551
monochromatic
#131806 #192008 #3F5115 #658222 #8BB22E

Accessibility & contrast

On white

8.75
#3F5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F5115
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5115#FFFFFF#000000##FFFFFF
##3F51151.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#534B1A
Tritanopia (blue-blind)
#424D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f5115;
/* rgb */ color: rgb(63, 81, 21);
/* oklch */ color: oklch(40.6% 0.087 124.6);
Tailwind
colors: {
  custom: {
    50: '#768256',
    500: '#3f5115',
    950: '#000000',
  },
}
SCSS
$custom: #3f5115;
$custom-light: #768256;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5115",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 78,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.08672,
    "h": 124.6
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#3F5115
secondary
#513989
accent
#46E275
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5115

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

Preview Lab → · Contrast checker → · Palette generator →

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