#3F580F#3F580F

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

Color values

HEX#3F580F
RGBrgb(63, 88, 15)
HSLhsl(81, 71%, 20%)
HSVhsv(81, 83%, 35%)
CMYKcmyk(28.4%, 0%, 83%, 65.5%)
CIE-LABlab(34.13, -21.22, 36.31)
CIE-LCHlch(34.13, 42.06, 120.30°)
OKLaboklab(42.5% -0.0611 0.0803)
OKLCHoklch(42.5% 0.101 127.3)
XYZxyz(5.6259, 8.0706, 1.7132)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F580F #280F58
analogous
#584C0F #3F580F #1A580F
triadic
#3F580F #0F3F58 #580F3F
tetradic
#3F580F #0F584C #280F58 #580F1A
square
#3F580F #0F584C #280F58 #580F1A
split-complementary
#3F580F #0F1A58 #4C0F58
monochromatic
#131A04 #1A2406 #3F580F #648C18 #8AC121

Accessibility & contrast

On white

8.03
#3F580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F580F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F580F#FFFFFF#000000##FFFFFF
##3F580F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f580f;
/* rgb */ color: rgb(63, 88, 15);
/* oklch */ color: oklch(42.5% 0.101 127.3);
Tailwind
colors: {
  custom: {
    50: '#778754',
    500: '#3f580f',
    950: '#000000',
  },
}
SCSS
$custom: #3f580f;
$custom-light: #778754;
$custom-dark: #000000;
JSON
{
  "hex": "#3f580f",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 80.548,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.1009,
    "h": 127.3
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#3F580F
secondary
#523192
accent
#3AEE78
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F580F

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

Preview Lab → · Contrast checker → · Palette generator →

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