#3F7313#3F7313

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

Color values

HEX#3F7313
RGBrgb(63, 115, 19)
HSLhsl(93, 72%, 26%)
HSVhsv(93, 83%, 45%)
CMYKcmyk(45.2%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.31, -33.83, 43.52)
CIE-LCHlch(43.31, 55.12, 127.86°)
OKLaboklab(50% -0.0949 0.0961)
OKLCHoklch(50% 0.135 134.6)
XYZxyz(8.2980, 13.3648, 2.7584)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7313 #471373
analogous
#6F7313 #3F7313 #137317
triadic
#3F7313 #133F73 #73133F
tetradic
#3F7313 #136F73 #471373 #731713
square
#3F7313 #136F73 #471373 #731713
split-complementary
#3F7313 #171373 #73136F
monochromatic
#0E1A04 #223E0A #3F7313 #5CA81C #79DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7313#FFFFFF#000000##FFFFFF
##3F73131.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)
#71651E
Tritanopia (blue-blind)
#3E6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7313;
/* rgb */ color: rgb(63, 115, 19);
/* oklch */ color: oklch(50.0% 0.135 134.6);
Tailwind
colors: {
  custom: {
    50: '#7a9c5a',
    500: '#3f7313',
    950: '#000000',
  },
}
SCSS
$custom: #3f7313;
$custom-light: #7a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7313",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 92.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.5,
    "c": 0.13505,
    "h": 134.6
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#3F7313
secondary
#7638AA
accent
#39EE9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7313

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

Preview Lab → · Contrast checker → · Palette generator →

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