#3F7C14#3F7C14

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

Color values

HEX#3F7C14
RGBrgb(63, 124, 20)
HSLhsl(95, 72%, 28%)
HSVhsv(95, 84%, 49%)
CMYKcmyk(49.2%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.34, -37.62, 46.00)
CIE-LCHlch(46.34, 59.43, 129.28°)
OKLaboklab(52.49% -0.105 0.1015)
OKLCHoklch(52.49% 0.146 136)
XYZxyz(9.3836, 15.5220, 3.1633)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C14 #51147C
analogous
#737C14 #3F7C14 #147C1D
triadic
#3F7C14 #143F7C #7C143F
tetradic
#3F7C14 #14737C #51147C #7C1D14
square
#3F7C14 #14737C #51147C #7C1D14
split-complementary
#3F7C14 #1D147C #7C1473
monochromatic
#0D1A04 #24470B #3F7C14 #5AB11D #76DD2D

Accessibility & contrast

On white

5.12
#3F7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3F7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7C14
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7C14#FFFFFF#000000##FFFFFF
##3F7C141.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7c14;
/* rgb */ color: rgb(63, 124, 20);
/* oklch */ color: oklch(52.5% 0.146 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ba25c',
    500: '#3f7c14',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c14;
$custom-light: #7ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c14",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 95.192,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.14602,
    "h": 136
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#3F7C14
secondary
#803AB2
accent
#39EFA4
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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