#3F5F15#3F5F15

#3F5F15 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.107 H 130.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3F5F15
RGBrgb(63, 95, 21)
HSLhsl(86, 64%, 23%)
HSVhsv(86, 78%, 37%)
CMYKcmyk(33.7%, 0%, 77.9%, 62.7%)
CIE-LABlab(36.55, -24.38, 36.35)
CIE-LCHlch(36.55, 43.77, 123.86°)
OKLaboklab(44.48% -0.0692 0.0814)
OKLCHoklch(44.48% 0.107 130.4)
XYZxyz(6.2774, 9.2951, 2.1727)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5F15 #35155F
analogous
#5F5A15 #3F5F15 #1A5F15
triadic
#3F5F15 #153F5F #5F153F
tetradic
#3F5F15 #155F5A #35155F #5F151A
square
#3F5F15 #155F5A #35155F #5F151A
split-complementary
#3F5F15 #151A5F #5A155F
monochromatic
#111906 #1E2D0A #3F5F15 #609120 #81C32B

Accessibility & contrast

On white

7.35
#3F5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5F15
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5F15#FFFFFF#000000##FFFFFF
##3F5F151.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645707
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#415B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f5f15;
/* rgb */ color: rgb(63, 95, 21);
/* oklch */ color: oklch(44.5% 0.107 130.4);
Tailwind
colors: {
  custom: {
    50: '#778c58',
    500: '#3f5f15',
    950: '#000000',
  },
}
SCSS
$custom: #3f5f15;
$custom-light: #778c58;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5f15",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 85.946,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.10686,
    "h": 130.4
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#3F5F15
secondary
#623A96
accent
#41E789
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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