#3F7F1D#3F7F1D

#3F7F1D is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.4% C 0.145 H 137.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3F7F1D
RGBrgb(63, 127, 29)
HSLhsl(99, 63%, 31%)
HSVhsv(99, 77%, 50%)
CMYKcmyk(50.4%, 0%, 77.2%, 50.2%)
CIE-LABlab(47.40, -38.32, 43.98)
CIE-LCHlch(47.40, 58.33, 131.06°)
OKLaboklab(53.38% -0.1063 0.0987)
OKLCHoklch(53.38% 0.145 137.1)
XYZxyz(9.8607, 16.3235, 3.7933)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7F1D #5D1D7F
analogous
#707F1D #3F7F1D #1D7F2C
triadic
#3F7F1D #1D3F7F #7F1D3F
tetradic
#3F7F1D #1D707F #5D1D7F #7F2C1D
square
#3F7F1D #1D707F #5D1D7F #7F2C1D
split-complementary
#3F7F1D #2C1D7F #7F1D70
monochromatic
#0E1B06 #264D12 #3F7F1D #58B128 #75D442

Accessibility & contrast

On white

4.92
#3F7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3F7F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7F1D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7F1D#FFFFFF#000000##FFFFFF
##3F7F1D1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837408
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#3B7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7f1d;
/* rgb */ color: rgb(63, 127, 29);
/* oklch */ color: oklch(53.4% 0.145 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba561',
    500: '#3f7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #3f7f1d;
$custom-light: #7ba561;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7f1d",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 99.184,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.14503,
    "h": 137.1
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#3F7F1D
secondary
#8D45B2
accent
#42E6AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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