#3F7017#3F7017

#3F7017 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.129 H 134.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3F7017
RGBrgb(63, 112, 23)
HSLhsl(93, 66%, 26%)
HSVhsv(93, 79%, 44%)
CMYKcmyk(43.7%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.32, -32.26, 41.22)
CIE-LCHlch(42.32, 52.35, 128.04°)
OKLaboklab(49.2% -0.0904 0.092)
OKLCHoklch(49.2% 0.129 134.5)
XYZxyz(7.9986, 12.7065, 2.8416)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7017 #481770
analogous
#6C7017 #3F7017 #17701C
triadic
#3F7017 #173F70 #70173F
tetradic
#3F7017 #176C70 #481770 #701C17
square
#3F7017 #176C70 #481770 #701C17
split-complementary
#3F7017 #1C1770 #70176C
monochromatic
#0E1905 #223D0D #3F7017 #5CA321 #78D42D

Accessibility & contrast

On white

5.93
#3F7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7017
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7017#FFFFFF#000000##FFFFFF
##3F70171.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756603
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#3E6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f7017;
/* rgb */ color: rgb(63, 112, 23);
/* oklch */ color: oklch(49.2% 0.129 134.5);
Tailwind
colors: {
  custom: {
    50: '#79995c',
    500: '#3f7017',
    950: '#000000',
  },
}
SCSS
$custom: #3f7017;
$custom-light: #79995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7017",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 93.034,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49195,
    "c": 0.12893,
    "h": 134.5
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#3F7017
secondary
#773DA6
accent
#3FE99C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7017

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

Preview Lab → · Contrast checker → · Palette generator →

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