#3F8F15#3F8F15

#3F8F15 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.7% C 0.169 H 137.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3F8F15
RGBrgb(63, 143, 21)
HSLhsl(99, 74%, 32%)
HSVhsv(99, 85%, 56%)
CMYKcmyk(55.9%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.68, -45.15, 51.47)
CIE-LCHlch(52.68, 68.47, 131.26°)
OKLaboklab(57.72% -0.1251 0.1131)
OKLCHoklch(57.72% 0.169 137.9)
XYZxyz(12.0073, 20.7549, 4.0827)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F15 #65158F
analogous
#7C8F15 #3F8F15 #158F28
triadic
#3F8F15 #153F8F #8F153F
tetradic
#3F8F15 #157C8F #65158F #8F2815
square
#3F8F15 #157C8F #65158F #8F2815
split-complementary
#3F8F15 #28158F #8F157C
monochromatic
#102405 #275A0D #3F8F15 #57C41D #75E23C

Accessibility & contrast

On white

4.08
#3F8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3F8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8F15
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8F15#FFFFFF#000000##000000
##3F8F151.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#388A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f15;
/* rgb */ color: rgb(63, 143, 21);
/* oklch */ color: oklch(57.7% 0.169 137.9);
Tailwind
colors: {
  custom: {
    50: '#7eb060',
    500: '#3f8f15',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f15;
$custom-light: #7eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f15",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 99.344,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.16869,
    "h": 137.9
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#3F8F15
secondary
#953EC2
accent
#37F1B1
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #3F8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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