#3F7D1B#3F7D1B

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

Color values

HEX#3F7D1B
RGBrgb(63, 125, 27)
HSLhsl(98, 64%, 30%)
HSVhsv(98, 78%, 49%)
CMYKcmyk(49.6%, 0%, 78.4%, 51%)
CIE-LABlab(46.71, -37.62, 44.04)
CIE-LCHlch(46.71, 57.92, 130.50°)
OKLaboklab(52.81% -0.1045 0.0985)
OKLCHoklch(52.81% 0.144 136.7)
XYZxyz(9.5811, 15.8025, 3.5820)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D1B #591B7D
analogous
#707D1B #3F7D1B #1B7D28
triadic
#3F7D1B #1B3F7D #7D1B3F
tetradic
#3F7D1B #1B707D #591B7D #7D281B
square
#3F7D1B #1B707D #591B7D #7D281B
split-complementary
#3F7D1B #281B7D #7D1B70
monochromatic
#0D1905 #264B10 #3F7D1B #58AF26 #75D53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3f7d1b;
/* rgb */ color: rgb(63, 125, 27);
/* oklch */ color: oklch(52.8% 0.144 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba35f',
    500: '#3f7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d1b;
$custom-light: #7ba35f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d1b",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 97.959,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.14363,
    "h": 136.7
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#3F7D1B
secondary
#8843B1
accent
#40E7AA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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