#3F7814#3F7814

#3F7814 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.4% C 0.141 H 135.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3F7814
RGBrgb(63, 120, 20)
HSLhsl(94, 71%, 27%)
HSVhsv(94, 83%, 47%)
CMYKcmyk(47.5%, 0%, 83.3%, 52.9%)
CIE-LABlab(45.00, -35.93, 44.76)
CIE-LCHlch(45.00, 57.40, 128.76°)
OKLaboklab(51.39% -0.1005 0.0989)
OKLCHoklch(51.39% 0.141 135.5)
XYZxyz(8.8924, 14.5397, 2.9996)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7814 #4D1478
analogous
#717814 #3F7814 #14781B
triadic
#3F7814 #143F78 #78143F
tetradic
#3F7814 #147178 #4D1478 #781B14
square
#3F7814 #147178 #4D1478 #781B14
split-complementary
#3F7814 #1B1478 #781471
monochromatic
#0E1A04 #23440B #3F7814 #5BAC1D #77DC2B

Accessibility & contrast

On white

5.37
#3F7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3F7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7814
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7814#FFFFFF#000000##FFFFFF
##3F78141.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#3D7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f7814;
/* rgb */ color: rgb(63, 120, 20);
/* oklch */ color: oklch(51.4% 0.141 135.5);
Tailwind
colors: {
  custom: {
    50: '#7a9f5b',
    500: '#3f7814',
    950: '#000000',
  },
}
SCSS
$custom: #3f7814;
$custom-light: #7a9f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7814",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 94.2,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.14097,
    "h": 135.5
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#3F7814
secondary
#7C3AAE
accent
#3AEEA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7814

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

Preview Lab → · Contrast checker → · Palette generator →

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