#3F7314#3F7314

#3F7314 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.135 H 134.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3F7314
RGBrgb(63, 115, 20)
HSLhsl(93, 70%, 26%)
HSVhsv(93, 83%, 45%)
CMYKcmyk(45.2%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.31, -33.77, 43.20)
CIE-LCHlch(43.31, 54.83, 128.02°)
OKLaboklab(50.01% -0.0947 0.0956)
OKLCHoklch(50.01% 0.135 134.7)
XYZxyz(8.3067, 13.3683, 2.8043)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7314 #481473
analogous
#6F7314 #3F7314 #147319
triadic
#3F7314 #143F73 #73143F
tetradic
#3F7314 #146F73 #481473 #731914
square
#3F7314 #146F73 #481473 #731914
split-complementary
#3F7314 #191473 #73146F
monochromatic
#0E1A05 #223F0B #3F7314 #5CA71D #78DA28

Accessibility & contrast

On white

5.72
#3F7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7314
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7314#FFFFFF#000000##FFFFFF
##3F73141.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#3E6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7314;
/* rgb */ color: rgb(63, 115, 20);
/* oklch */ color: oklch(50.0% 0.135 134.7);
Tailwind
colors: {
  custom: {
    50: '#7a9c5b',
    500: '#3f7314',
    950: '#000000',
  },
}
SCSS
$custom: #3f7314;
$custom-light: #7a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7314",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 92.842,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.13454,
    "h": 134.7
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#3F7314
secondary
#773AA9
accent
#3BED9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7314

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

Preview Lab → · Contrast checker → · Palette generator →

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