#3F7D1C#3F7D1C

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

Color values

HEX#3F7D1C
RGBrgb(63, 125, 28)
HSLhsl(98, 63%, 30%)
HSVhsv(98, 78%, 49%)
CMYKcmyk(49.6%, 0%, 77.6%, 51%)
CIE-LABlab(46.72, -37.55, 43.69)
CIE-LCHlch(46.72, 57.61, 130.68°)
OKLaboklab(52.82% -0.1043 0.0979)
OKLCHoklch(52.82% 0.143 136.8)
XYZxyz(9.5928, 15.8072, 3.6440)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D1C #5A1C7D
analogous
#6F7D1C #3F7D1C #1C7D2A
triadic
#3F7D1C #1C3F7D #7D1C3F
tetradic
#3F7D1C #1C6F7D #5A1C7D #7D2A1C
square
#3F7D1C #1C6F7D #5A1C7D #7D2A1C
split-complementary
#3F7D1C #2A1C7D #7D1C6F
monochromatic
#0D1906 #264B11 #3F7D1C #58AF27 #75D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7D1C#FFFFFF#000000##FFFFFF
##3F7D1C1.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)
#817207
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d1c;
/* rgb */ color: rgb(63, 125, 28);
/* oklch */ color: oklch(52.8% 0.143 136.8);
Tailwind
colors: {
  custom: {
    50: '#7aa360',
    500: '#3f7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d1c;
$custom-light: #7aa360;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d1c",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 98.351,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.14304,
    "h": 136.8
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#3F7D1C
secondary
#8A44B1
accent
#41E6AB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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