#3F8415#3F8415

#3F8415 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.155 H 136.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F8415
RGBrgb(63, 132, 21)
HSLhsl(97, 73%, 30%)
HSVhsv(97, 84%, 52%)
CMYKcmyk(52.3%, 0%, 84.1%, 48.2%)
CIE-LABlab(49.02, -40.85, 48.16)
CIE-LCHlch(49.02, 63.15, 130.30°)
OKLaboklab(54.7% -0.1136 0.1062)
OKLCHoklch(54.7% 0.155 136.9)
XYZxyz(10.4362, 17.6127, 3.5590)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8415 #5A1584
analogous
#778415 #3F8415 #158422
triadic
#3F8415 #153F84 #84153F
tetradic
#3F8415 #157784 #5A1584 #842215
square
#3F8415 #157784 #5A1584 #842215
split-complementary
#3F8415 #221584 #841577
monochromatic
#0D1A04 #264F0D #3F8415 #58B91D #75DF35

Accessibility & contrast

On white

4.64
#3F8415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8415
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8415#FFFFFF#000000##FFFFFF
##3F84151.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#3B7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8415;
/* rgb */ color: rgb(63, 132, 21);
/* oklch */ color: oklch(54.7% 0.155 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ca85e',
    500: '#3f8415',
    950: '#000000',
  },
}
SCSS
$custom: #3f8415;
$custom-light: #7ca85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8415",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 97.297,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.15548,
    "h": 136.9
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#3F8415
secondary
#8A3CB9
accent
#39EFAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8415

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

Preview Lab → · Contrast checker → · Palette generator →

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