#3F7C16#3F7C16

#3F7C16 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.145 H 136.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3F7C16
RGBrgb(63, 124, 22)
HSLhsl(96, 70%, 29%)
HSVhsv(96, 82%, 49%)
CMYKcmyk(49.2%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.35, -37.51, 45.39)
CIE-LCHlch(46.35, 58.89, 129.57°)
OKLaboklab(52.5% -0.1046 0.1005)
OKLCHoklch(52.5% 0.145 136.1)
XYZxyz(9.4021, 15.5294, 3.2609)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C16 #53167C
analogous
#727C16 #3F7C16 #167C20
triadic
#3F7C16 #163F7C #7C163F
tetradic
#3F7C16 #16727C #53167C #7C2016
square
#3F7C16 #16727C #53167C #7C2016
split-complementary
#3F7C16 #20167C #7C1672
monochromatic
#0D1A05 #25480D #3F7C16 #59B01F #76DB32

Accessibility & contrast

On white

5.11
#3F7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3F7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7C16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7C16#FFFFFF#000000##FFFFFF
##3F7C161.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#3C7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f7c16;
/* rgb */ color: rgb(63, 124, 22);
/* oklch */ color: oklch(52.5% 0.145 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ba25d',
    500: '#3f7c16',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c16;
$custom-light: #7ba25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c16",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 95.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.14506,
    "h": 136.1
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#3F7C16
secondary
#823DB1
accent
#3BEDA5
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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