#3F5B15#3F5B15

#3F5B15 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.4% C 0.101 H 129.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3F5B15
RGBrgb(63, 91, 21)
HSLhsl(84, 63%, 22%)
HSVhsv(84, 77%, 36%)
CMYKcmyk(30.8%, 0%, 76.9%, 64.3%)
CIE-LABlab(35.19, -22.37, 35.00)
CIE-LCHlch(35.19, 41.54, 122.59°)
OKLaboklab(43.37% -0.0637 0.0786)
OKLCHoklch(43.37% 0.101 129)
XYZxyz(5.9263, 8.5929, 2.0557)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5B15 #31155B
analogous
#5B5415 #3F5B15 #1C5B15
triadic
#3F5B15 #153F5B #5B153F
tetradic
#3F5B15 #155B54 #31155B #5B151C
square
#3F5B15 #155B54 #31155B #5B151C
split-complementary
#3F5B15 #151C5B #54155B
monochromatic
#111906 #1D290A #3F5B15 #618D20 #84BE2C

Accessibility & contrast

On white

7.72
#3F5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F5B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5B15
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5B15#FFFFFF#000000##FFFFFF
##3F5B151.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605409
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#41574D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f5b15;
/* rgb */ color: rgb(63, 91, 21);
/* oklch */ color: oklch(43.4% 0.101 129.0);
Tailwind
colors: {
  custom: {
    50: '#778958',
    500: '#3f5b15',
    950: '#000000',
  },
}
SCSS
$custom: #3f5b15;
$custom-light: #778958;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5b15",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 84,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.10119,
    "h": 129
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#3F5B15
secondary
#5D3992
accent
#42E684
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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