#3F8A13#3F8A13

#3F8A13 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.3% C 0.164 H 137.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8A13
RGBrgb(63, 138, 19)
HSLhsl(98, 76%, 31%)
HSVhsv(98, 86%, 54%)
CMYKcmyk(54.3%, 0%, 86.2%, 45.9%)
CIE-LABlab(51.01, -43.31, 50.50)
CIE-LCHlch(51.01, 66.53, 130.62°)
OKLaboklab(56.34% -0.1203 0.1108)
OKLCHoklch(56.34% 0.164 137.4)
XYZxyz(11.2556, 19.2799, 3.7442)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A13 #5E138A
analogous
#7A8A13 #3F8A13 #138A22
triadic
#3F8A13 #133F8A #8A133F
tetradic
#3F8A13 #137A8A #5E138A #8A2213
square
#3F8A13 #137A8A #5E138A #8A2213
split-complementary
#3F8A13 #22138A #8A137A
monochromatic
#0E1E04 #26540C #3F8A13 #58C01A #75E334

Accessibility & contrast

On white

4.32
#3F8A13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3F8A13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A13
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A13#FFFFFF#000000##000000
##3F8A131.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#3A8575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f8a13;
/* rgb */ color: rgb(63, 138, 19);
/* oklch */ color: oklch(56.3% 0.164 137.4);
Tailwind
colors: {
  custom: {
    50: '#7dad5e',
    500: '#3f8a13',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a13;
$custom-light: #7dad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a13",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 97.815,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.16356,
    "h": 137.4
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#3F8A13
secondary
#8E3ABE
accent
#35F2AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8A13

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

Preview Lab → · Contrast checker → · Palette generator →

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