#3F8915#3F8915

#3F8915 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.1% C 0.162 H 137.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3F8915
RGBrgb(63, 137, 21)
HSLhsl(98, 73%, 31%)
HSVhsv(98, 85%, 54%)
CMYKcmyk(54%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.69, -42.83, 49.68)
CIE-LCHlch(50.69, 65.59, 130.77°)
OKLaboklab(56.07% -0.1189 0.1094)
OKLCHoklch(56.07% 0.162 137.4)
XYZxyz(11.1306, 19.0014, 3.7904)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8915 #5F1589
analogous
#798915 #3F8915 #158925
triadic
#3F8915 #153F89 #89153F
tetradic
#3F8915 #157989 #5F1589 #892515
square
#3F8915 #157989 #5F1589 #892515
split-complementary
#3F8915 #251589 #891579
monochromatic
#0E1F05 #27540D #3F8915 #57BE1D #75E038

Accessibility & contrast

On white

4.37
#3F8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3F8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8915
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8915#FFFFFF#000000##000000
##3F89151.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#3A8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f8915;
/* rgb */ color: rgb(63, 137, 21);
/* oklch */ color: oklch(56.1% 0.162 137.4);
Tailwind
colors: {
  custom: {
    50: '#7dac5f',
    500: '#3f8915',
    950: '#000000',
  },
}
SCSS
$custom: #3f8915;
$custom-light: #7dac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8915",
  "rgb": {
    "r": 63,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 98.276,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.16155,
    "h": 137.4
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#3F8915
secondary
#8F3DBD
accent
#38F0AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8915

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

Preview Lab → · Contrast checker → · Palette generator →

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