#3F8E12#3F8E12

#3F8E12 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.4% C 0.169 H 137.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3F8E12
RGBrgb(63, 142, 18)
HSLhsl(98, 78%, 31%)
HSVhsv(98, 87%, 56%)
CMYKcmyk(55.6%, 0%, 87.3%, 44.3%)
CIE-LABlab(52.34, -44.90, 51.92)
CIE-LCHlch(52.34, 68.65, 130.85°)
OKLaboklab(57.43% -0.1246 0.1137)
OKLCHoklch(57.43% 0.169 137.6)
XYZxyz(11.8317, 20.4455, 3.8950)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8E12 #61128E
analogous
#7D8E12 #3F8E12 #128E23
triadic
#3F8E12 #123F8E #8E123F
tetradic
#3F8E12 #127D8E #61128E #8E2312
square
#3F8E12 #127D8E #61128E #8E2312
split-complementary
#3F8E12 #23128E #8E127D
monochromatic
#0F2104 #27580B #3F8E12 #57C419 #75E535

Accessibility & contrast

On white

4.13
#3F8E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#3F8E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8E12
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8E12#FFFFFF#000000##000000
##3F8E121.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#398978
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f8e12;
/* rgb */ color: rgb(63, 142, 18);
/* oklch */ color: oklch(57.4% 0.169 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eb05e',
    500: '#3f8e12',
    950: '#000000',
  },
}
SCSS
$custom: #3f8e12;
$custom-light: #7eb05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8e12",
  "rgb": {
    "r": 63,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 98.226,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.16865,
    "h": 137.6
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#3F8E12
secondary
#913AC2
accent
#34F4AE
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3F8E12

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

Preview Lab → · Contrast checker → · Palette generator →

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