#3F5D17#3F5D17

#3F5D17 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.9% C 0.103 H 130.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3F5D17
RGBrgb(63, 93, 23)
HSLhsl(86, 60%, 23%)
HSVhsv(86, 75%, 36%)
CMYKcmyk(32.3%, 0%, 75.3%, 63.5%)
CIE-LABlab(35.88, -23.24, 34.86)
CIE-LCHlch(35.88, 41.89, 123.69°)
OKLaboklab(43.94% -0.0659 0.0786)
OKLCHoklch(43.94% 0.103 130)
XYZxyz(6.1189, 8.9471, 2.2150)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5D17 #35175D
analogous
#5D5817 #3F5D17 #1C5D17
triadic
#3F5D17 #173F5D #5D173F
tetradic
#3F5D17 #175D58 #35175D #5D171C
square
#3F5D17 #175D58 #35175D #5D171C
split-complementary
#3F5D17 #171C5D #58175D
monochromatic
#111906 #1E2C0B #3F5D17 #608E23 #81BF2F

Accessibility & contrast

On white

7.53
#3F5D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F5D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5D17
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5D17#FFFFFF#000000##FFFFFF
##3F5D171.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560C
Deuteranopia (green-blind)
#5D541D
Tritanopia (blue-blind)
#41594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f5d17;
/* rgb */ color: rgb(63, 93, 23);
/* oklch */ color: oklch(43.9% 0.103 130.0);
Tailwind
colors: {
  custom: {
    50: '#778b59',
    500: '#3f5d17',
    950: '#000000',
  },
}
SCSS
$custom: #3f5d17;
$custom-light: #778b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5d17",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 85.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.1026,
    "h": 130
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#3F5D17
secondary
#623C94
accent
#44E389
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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