#3F5815#3F5815

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

Color values

HEX#3F5815
RGBrgb(63, 88, 21)
HSLhsl(82, 61%, 21%)
HSVhsv(82, 76%, 35%)
CMYKcmyk(28.4%, 0%, 76.1%, 65.5%)
CIE-LABlab(34.17, -20.83, 33.98)
CIE-LCHlch(34.17, 39.85, 121.50°)
OKLaboklab(42.54% -0.0595 0.0765)
OKLCHoklch(42.54% 0.097 127.9)
XYZxyz(5.6750, 8.0902, 1.9719)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5815 #2E1558
analogous
#585015 #3F5815 #1E5815
triadic
#3F5815 #153F58 #58153F
tetradic
#3F5815 #155850 #2E1558 #58151E
square
#3F5815 #155850 #2E1558 #58151E
split-complementary
#3F5815 #151E58 #501558
monochromatic
#121906 #1C2709 #3F5815 #628921 #86BB2D

Accessibility & contrast

On white

8.02
#3F5815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F5815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5815
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5815#FFFFFF#000000##FFFFFF
##3F58151.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510A
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#41544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f5815;
/* rgb */ color: rgb(63, 88, 21);
/* oklch */ color: oklch(42.5% 0.097 127.9);
Tailwind
colors: {
  custom: {
    50: '#778757',
    500: '#3f5815',
    950: '#000000',
  },
}
SCSS
$custom: #3f5815;
$custom-light: #778757;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5815",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 82.388,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.09689,
    "h": 127.9
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#3F5815
secondary
#593990
accent
#43E57F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5815

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

Preview Lab → · Contrast checker → · Palette generator →

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