#3F7D16#3F7D16

#3F7D16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.146 H 136.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3F7D16
RGBrgb(63, 125, 22)
HSLhsl(96, 70%, 29%)
HSVhsv(96, 82%, 49%)
CMYKcmyk(49.6%, 0%, 82.4%, 51%)
CIE-LABlab(46.69, -37.93, 45.70)
CIE-LCHlch(46.69, 59.39, 129.69°)
OKLaboklab(52.78% -0.1057 0.1012)
OKLCHoklch(52.78% 0.146 136.3)
XYZxyz(9.5281, 15.7813, 3.3029)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D16 #54167D
analogous
#737D16 #3F7D16 #167D21
triadic
#3F7D16 #163F7D #7D163F
tetradic
#3F7D16 #16737D #54167D #7D2116
square
#3F7D16 #16737D #54167D #7D2116
split-complementary
#3F7D16 #21167D #7D1673
monochromatic
#0D1A05 #25490D #3F7D16 #59B11F #76DB32

Accessibility & contrast

On white

5.05
#3F7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3F7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7D16
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7D16#FFFFFF#000000##FFFFFF
##3F7D161.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d16;
/* rgb */ color: rgb(63, 125, 22);
/* oklch */ color: oklch(52.8% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ba35d',
    500: '#3f7d16',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d16;
$custom-light: #7ba35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d16",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 96.117,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.14632,
    "h": 136.3
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#3F7D16
secondary
#833DB2
accent
#3BEDA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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