#3F7816#3F7816

#3F7816 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.4% C 0.140 H 135.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3F7816
RGBrgb(63, 120, 22)
HSLhsl(95, 69%, 28%)
HSVhsv(95, 82%, 47%)
CMYKcmyk(47.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.01, -35.82, 44.13)
CIE-LCHlch(45.01, 56.84, 129.06°)
OKLaboklab(51.4% -0.1 0.0979)
OKLCHoklch(51.4% 0.14 135.6)
XYZxyz(8.9110, 14.5471, 3.0972)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7816 #4F1678
analogous
#707816 #3F7816 #16781E
triadic
#3F7816 #163F78 #78163F
tetradic
#3F7816 #167078 #4F1678 #781E16
square
#3F7816 #167078 #4F1678 #781E16
split-complementary
#3F7816 #1E1678 #781670
monochromatic
#0E1A05 #24440D #3F7816 #5AAC1F #76D92F

Accessibility & contrast

On white

5.37
#3F7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3F7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7816
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7816#FFFFFF#000000##FFFFFF
##3F78161.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#3D7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f7816;
/* rgb */ color: rgb(63, 120, 22);
/* oklch */ color: oklch(51.4% 0.140 135.6);
Tailwind
colors: {
  custom: {
    50: '#7a9f5c',
    500: '#3f7816',
    950: '#000000',
  },
}
SCSS
$custom: #3f7816;
$custom-light: #7a9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7816",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 94.898,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.514,
    "c": 0.13996,
    "h": 135.6
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#3F7816
secondary
#7E3CAD
accent
#3CECA2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7816

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

Preview Lab → · Contrast checker → · Palette generator →

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