#3F7D1E#3F7D1E

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

Color values

HEX#3F7D1E
RGBrgb(63, 125, 30)
HSLhsl(99, 61%, 30%)
HSVhsv(99, 76%, 49%)
CMYKcmyk(49.6%, 0%, 76%, 51%)
CIE-LABlab(46.73, -37.41, 42.95)
CIE-LCHlch(46.73, 56.96, 131.06°)
OKLaboklab(52.83% -0.1038 0.0967)
OKLCHoklch(52.83% 0.142 137)
XYZxyz(9.6176, 15.8171, 3.7743)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D1E #5C1E7D
analogous
#6E7D1E #3F7D1E #1E7D2D
triadic
#3F7D1E #1E3F7D #7D1E3F
tetradic
#3F7D1E #1E6E7D #5C1E7D #7D2D1E
square
#3F7D1E #1E6E7D #5C1E7D #7D2D1E
split-complementary
#3F7D1E #2D1E7D #7D1E6E
monochromatic
#0D1A06 #264C12 #3F7D1E #58AE2A #75D243

Accessibility & contrast

On white

5.04
#3F7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F7D1E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7D1E#FFFFFF#000000##FFFFFF
##3F7D1E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#3B786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d1e;
/* rgb */ color: rgb(63, 125, 30);
/* oklch */ color: oklch(52.8% 0.142 137.0);
Tailwind
colors: {
  custom: {
    50: '#7aa361',
    500: '#3f7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d1e;
$custom-light: #7aa361;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d1e",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 99.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.14182,
    "h": 137
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#3F7D1E
secondary
#8C46B0
accent
#43E4AC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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