#3F7914#3F7914

#3F7914 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.142 H 135.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3F7914
RGBrgb(63, 121, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 83%, 47%)
CMYKcmyk(47.9%, 0%, 83.5%, 52.5%)
CIE-LABlab(45.33, -36.36, 45.07)
CIE-LCHlch(45.33, 57.91, 128.89°)
OKLaboklab(51.67% -0.1016 0.0995)
OKLCHoklch(51.67% 0.142 135.6)
XYZxyz(9.0133, 14.7814, 3.0398)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7914 #4E1479
analogous
#727914 #3F7914 #14791B
triadic
#3F7914 #143F79 #79143F
tetradic
#3F7914 #147279 #4E1479 #791B14
square
#3F7914 #147279 #4E1479 #791B14
split-complementary
#3F7914 #1B1479 #791472
monochromatic
#0E1A04 #24440B #3F7914 #5AAE1D #77DC2B

Accessibility & contrast

On white

5.31
#3F7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F7914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7914
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7914#FFFFFF#000000##FFFFFF
##3F79141.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#3D7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7914;
/* rgb */ color: rgb(63, 121, 20);
/* oklch */ color: oklch(51.7% 0.142 135.6);
Tailwind
colors: {
  custom: {
    50: '#7aa05c',
    500: '#3f7914',
    950: '#000000',
  },
}
SCSS
$custom: #3f7914;
$custom-light: #7aa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7914",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 94.455,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51665,
    "c": 0.14224,
    "h": 135.6
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#3F7914
secondary
#7D3AAF
accent
#39EEA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3F7914

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

Preview Lab → · Contrast checker → · Palette generator →

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