#3F7317#3F7317

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

Color values

HEX#3F7317
RGBrgb(63, 115, 23)
HSLhsl(94, 67%, 27%)
HSVhsv(94, 80%, 45%)
CMYKcmyk(45.2%, 0%, 80%, 54.9%)
CIE-LABlab(43.33, -33.59, 42.20)
CIE-LCHlch(43.33, 53.94, 128.52°)
OKLaboklab(50.03% -0.094 0.094)
OKLCHoklch(50.03% 0.133 135)
XYZxyz(8.3351, 13.3796, 2.9538)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7317 #4B1773
analogous
#6D7317 #3F7317 #17731D
triadic
#3F7317 #173F73 #73173F
tetradic
#3F7317 #176D73 #4B1773 #731D17
square
#3F7317 #176D73 #4B1773 #731D17
split-complementary
#3F7317 #1D1773 #73176D
monochromatic
#0E1A05 #23400D #3F7317 #5BA621 #77D52F

Accessibility & contrast

On white

5.71
#3F7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F7317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7317
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7317#FFFFFF#000000##FFFFFF
##3F73171.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#3E6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7317;
/* rgb */ color: rgb(63, 115, 23);
/* oklch */ color: oklch(50.0% 0.133 135.0);
Tailwind
colors: {
  custom: {
    50: '#799c5c',
    500: '#3f7317',
    950: '#000000',
  },
}
SCSS
$custom: #3f7317;
$custom-light: #799c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7317",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 93.913,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.13291,
    "h": 135
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#3F7317
secondary
#7A3DA9
accent
#3EEA9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7317

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

Preview Lab → · Contrast checker → · Palette generator →

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