#3F7D1A#3F7D1A

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

Color values

HEX#3F7D1A
RGBrgb(63, 125, 26)
HSLhsl(98, 66%, 30%)
HSVhsv(98, 79%, 49%)
CMYKcmyk(49.6%, 0%, 79.2%, 51%)
CIE-LABlab(46.71, -37.69, 44.39)
CIE-LCHlch(46.71, 58.23, 130.33°)
OKLaboklab(52.81% -0.1048 0.0991)
OKLCHoklch(52.81% 0.144 136.6)
XYZxyz(9.5697, 15.7979, 3.5221)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D1A #581A7D
analogous
#717D1A #3F7D1A #1A7D27
triadic
#3F7D1A #1A3F7D #7D1A3F
tetradic
#3F7D1A #1A717D #581A7D #7D271A
square
#3F7D1A #1A717D #581A7D #7D271A
split-complementary
#3F7D1A #271A7D #7D1A71
monochromatic
#0D1905 #254A0F #3F7D1A #59B025 #75D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7D1A#FFFFFF#000000##FFFFFF
##3F7D1A1.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)
#817203
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d1a;
/* rgb */ color: rgb(63, 125, 26);
/* oklch */ color: oklch(52.8% 0.144 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ba35f',
    500: '#3f7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d1a;
$custom-light: #7ba35f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d1a",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 97.576,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52805,
    "c": 0.1442,
    "h": 136.6
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#3F7D1A
secondary
#8742B1
accent
#3FE9A9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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