#3F8315#3F8315

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

Color values

HEX#3F8315
RGBrgb(63, 131, 21)
HSLhsl(97, 72%, 30%)
HSVhsv(97, 84%, 51%)
CMYKcmyk(51.9%, 0%, 84%, 48.6%)
CIE-LABlab(48.69, -40.44, 47.86)
CIE-LCHlch(48.69, 62.66, 130.20°)
OKLaboklab(54.43% -0.1125 0.1055)
OKLCHoklch(54.43% 0.154 136.8)
XYZxyz(10.3012, 17.3428, 3.5140)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8315 #591583
analogous
#768315 #3F8315 #158322
triadic
#3F8315 #153F83 #83153F
tetradic
#3F8315 #157683 #591583 #832215
square
#3F8315 #157683 #591583 #832215
split-complementary
#3F8315 #221583 #831576
monochromatic
#0D1A04 #264E0D #3F8315 #58B81D #75DE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3f8315;
/* rgb */ color: rgb(63, 131, 21);
/* oklch */ color: oklch(54.4% 0.154 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#3f8315',
    950: '#000000',
  },
}
SCSS
$custom: #3f8315;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8315",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 97.091,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54427,
    "c": 0.15426,
    "h": 136.8
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#3F8315
secondary
#883CB8
accent
#39EFA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8315

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

Preview Lab → · Contrast checker → · Palette generator →

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