#3F8319#3F8319

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

Color values

HEX#3F8319
RGBrgb(63, 131, 25)
HSLhsl(98, 68%, 31%)
HSVhsv(98, 81%, 51%)
CMYKcmyk(51.9%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.71, -40.22, 46.64)
CIE-LCHlch(48.71, 61.59, 130.77°)
OKLaboklab(54.45% -0.1117 0.1036)
OKLCHoklch(54.45% 0.152 137.1)
XYZxyz(10.3413, 17.3588, 3.7252)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8319 #5D1983
analogous
#748319 #3F8319 #198328
triadic
#3F8319 #193F83 #83193F
tetradic
#3F8319 #197483 #5D1983 #832819
square
#3F8319 #197483 #5D1983 #832819
split-complementary
#3F8319 #281983 #831974
monochromatic
#0E1C05 #26500F #3F8319 #58B623 #75DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8319#FFFFFF#000000##FFFFFF
##3F83191.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)
#7F7225
Tritanopia (blue-blind)
#3B7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8319;
/* rgb */ color: rgb(63, 131, 25);
/* oklch */ color: oklch(54.4% 0.152 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ca85f',
    500: '#3f8319',
    950: '#000000',
  },
}
SCSS
$custom: #3f8319;
$custom-light: #7ca85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8319",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 98.491,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.15233,
    "h": 137.1
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#3F8319
secondary
#8D41B7
accent
#3DEBAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8319

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

Preview Lab → · Contrast checker → · Palette generator →

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