#3F6815#3F6815

#3F6815 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.119 H 132.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3F6815
RGBrgb(63, 104, 21)
HSLhsl(90, 66%, 25%)
HSVhsv(90, 80%, 41%)
CMYKcmyk(39.4%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.60, -28.73, 39.33)
CIE-LCHlch(39.60, 48.70, 126.14°)
OKLaboklab(46.97% -0.081 0.0877)
OKLCHoklch(46.97% 0.119 132.7)
XYZxyz(7.1355, 11.0112, 2.4587)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6815 #3E1568
analogous
#686815 #3F6815 #156815
triadic
#3F6815 #153F68 #68153F
tetradic
#3F6815 #156868 #3E1568 #681515
square
#3F6815 #156868 #3E1568 #681515
split-complementary
#3F6815 #151568 #681568
monochromatic
#0F1905 #20350B #3F6815 #5E9B1F #7DCE2A

Accessibility & contrast

On white

6.56
#3F6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3F6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6815
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6815#FFFFFF#000000##FFFFFF
##3F68151.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F03
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#3F6358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6815;
/* rgb */ color: rgb(63, 104, 21);
/* oklch */ color: oklch(47.0% 0.119 132.7);
Tailwind
colors: {
  custom: {
    50: '#789359',
    500: '#3f6815',
    950: '#000000',
  },
}
SCSS
$custom: #3f6815;
$custom-light: #789359;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6815",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 89.639,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.11935,
    "h": 132.7
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#3F6815
secondary
#6C3A9F
accent
#3EE993
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6815

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

Preview Lab → · Contrast checker → · Palette generator →

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