#3F580D#3F580D

#3F580D is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.102 H 127.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3F580D
RGBrgb(63, 88, 13)
HSLhsl(80, 74%, 20%)
HSVhsv(80, 85%, 35%)
CMYKcmyk(28.4%, 0%, 85.2%, 65.5%)
CIE-LABlab(34.12, -21.32, 37.00)
CIE-LCHlch(34.12, 42.71, 119.96°)
OKLaboklab(42.49% -0.0616 0.0814)
OKLCHoklch(42.49% 0.102 127.1)
XYZxyz(5.6123, 8.0652, 1.6417)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F580D #260D58
analogous
#584C0D #3F580D #1A580D
triadic
#3F580D #0D3F58 #580D3F
tetradic
#3F580D #0D584C #260D58 #580D1A
square
#3F580D #0D584C #260D58 #580D1A
split-complementary
#3F580D #0D1A58 #4C0D58
monochromatic
#131B04 #192305 #3F580D #658D15 #8BC31D

Accessibility & contrast

On white

8.04
#3F580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3F580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F580D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F580D#FFFFFF#000000##FFFFFF
##3F580D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#42534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f580d;
/* rgb */ color: rgb(63, 88, 13);
/* oklch */ color: oklch(42.5% 0.102 127.1);
Tailwind
colors: {
  custom: {
    50: '#778753',
    500: '#3f580d',
    950: '#000000',
  },
}
SCSS
$custom: #3f580d;
$custom-light: #778753;
$custom-dark: #000000;
JSON
{
  "hex": "#3f580d",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 80,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.10204,
    "h": 127.1
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#3F580D
secondary
#502E93
accent
#37F175
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F580D

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

Preview Lab → · Contrast checker → · Palette generator →

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