#3F8514#3F8514

#3F8514 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.157 H 137.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F8514
RGBrgb(63, 133, 20)
HSLhsl(97, 74%, 30%)
HSVhsv(97, 85%, 52%)
CMYKcmyk(52.6%, 0%, 85%, 47.8%)
CIE-LABlab(49.35, -41.30, 48.74)
CIE-LCHlch(49.35, 63.88, 130.27°)
OKLaboklab(54.97% -0.1148 0.1073)
OKLCHoklch(54.97% 0.157 137)
XYZxyz(10.5634, 17.8815, 3.5565)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8514 #5A1485
analogous
#788514 #3F8514 #148521
triadic
#3F8514 #143F85 #85143F
tetradic
#3F8514 #147885 #5A1485 #852114
square
#3F8514 #147885 #5A1485 #852114
split-complementary
#3F8514 #211485 #851478
monochromatic
#0D1B04 #26500C #3F8514 #58BA1C #75E033

Accessibility & contrast

On white

4.59
#3F8514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3F8514 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8514
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8514#FFFFFF#000000##FFFFFF
##3F85141.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#3B8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f8514;
/* rgb */ color: rgb(63, 133, 20);
/* oklch */ color: oklch(55.0% 0.157 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ca95e',
    500: '#3f8514',
    950: '#000000',
  },
}
SCSS
$custom: #3f8514;
$custom-light: #7ca95e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8514",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 20
  },
  "hsl": {
    "h": 97.168,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.15713,
    "h": 137
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#3F8514
secondary
#8A3BBA
accent
#37F1AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8514

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

Preview Lab → · Contrast checker → · Palette generator →

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