#3F8317#3F8317

#3F8317 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.4% C 0.153 H 137.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3F8317
RGBrgb(63, 131, 23)
HSLhsl(98, 70%, 30%)
HSVhsv(98, 82%, 51%)
CMYKcmyk(51.9%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.70, -40.34, 47.27)
CIE-LCHlch(48.70, 62.14, 130.48°)
OKLaboklab(54.44% -0.1121 0.1046)
OKLCHoklch(54.44% 0.153 137)
XYZxyz(10.3205, 17.3505, 3.6156)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8317 #5B1783
analogous
#758317 #3F8317 #178325
triadic
#3F8317 #173F83 #83173F
tetradic
#3F8317 #177583 #5B1783 #832517
square
#3F8317 #177583 #5B1783 #832517
split-complementary
#3F8317 #251783 #831775
monochromatic
#0D1B05 #264F0E #3F8317 #58B720 #75DC38

Accessibility & contrast

On white

4.70
#3F8317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3F8317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8317
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8317#FFFFFF#000000##FFFFFF
##3F83171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#3B7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8317;
/* rgb */ color: rgb(63, 131, 23);
/* oklch */ color: oklch(54.4% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#3f8317',
    950: '#000000',
  },
}
SCSS
$custom: #3f8317;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8317",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 97.778,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.15332,
    "h": 137
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#3F8317
secondary
#8B3FB7
accent
#3BEDAB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8317

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

Preview Lab → · Contrast checker → · Palette generator →

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