#3F7417#3F7417

#3F7417 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.3% C 0.134 H 135.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3F7417
RGBrgb(63, 116, 23)
HSLhsl(94, 67%, 27%)
HSVhsv(94, 80%, 45%)
CMYKcmyk(45.7%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.67, -34.03, 42.52)
CIE-LCHlch(43.67, 54.46, 128.67°)
OKLaboklab(50.3% -0.0952 0.0947)
OKLCHoklch(50.3% 0.134 135.2)
XYZxyz(8.4498, 13.6089, 2.9920)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7417 #4C1774
analogous
#6D7417 #3F7417 #17741E
triadic
#3F7417 #173F74 #74173F
tetradic
#3F7417 #176D74 #4C1774 #741E17
square
#3F7417 #176D74 #4C1774 #741E17
split-complementary
#3F7417 #1E1774 #74176D
monochromatic
#0E1A05 #23410D #3F7417 #5BA721 #77D630

Accessibility & contrast

On white

5.64
#3F7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3F7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7417
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7417#FFFFFF#000000##FFFFFF
##3F74171.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#716621
Tritanopia (blue-blind)
#3E6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f7417;
/* rgb */ color: rgb(63, 116, 23);
/* oklch */ color: oklch(50.3% 0.134 135.2);
Tailwind
colors: {
  custom: {
    50: '#799c5c',
    500: '#3f7417',
    950: '#000000',
  },
}
SCSS
$custom: #3f7417;
$custom-light: #799c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7417",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 94.194,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.13422,
    "h": 135.2
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#3F7417
secondary
#7B3DA9
accent
#3EEAA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7417

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

Preview Lab → · Contrast checker → · Palette generator →

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