#3F8518#3F8518

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

Color values

HEX#3F8518
RGBrgb(63, 133, 24)
HSLhsl(99, 69%, 31%)
HSVhsv(99, 82%, 52%)
CMYKcmyk(52.6%, 0%, 82%, 47.8%)
CIE-LABlab(49.37, -41.08, 47.58)
CIE-LCHlch(49.37, 62.86, 130.81°)
OKLaboklab(54.99% -0.1141 0.1054)
OKLCHoklch(54.99% 0.155 137.3)
XYZxyz(10.6020, 17.8970, 3.7598)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8518 #5E1885
analogous
#758518 #3F8518 #188527
triadic
#3F8518 #183F85 #85183F
tetradic
#3F8518 #187585 #5E1885 #852718
square
#3F8518 #187585 #5E1885 #852718
split-complementary
#3F8518 #271885 #851875
monochromatic
#0E1D05 #26510F #3F8518 #58B921 #75DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8518#FFFFFF#000000##FFFFFF
##3F85181.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)
#817325
Tritanopia (blue-blind)
#3A8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f8518;
/* rgb */ color: rgb(63, 133, 24);
/* oklch */ color: oklch(55.0% 0.155 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ca95f',
    500: '#3f8518',
    950: '#000000',
  },
}
SCSS
$custom: #3f8518;
$custom-light: #7ca95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8518",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 98.532,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.15531,
    "h": 137.3
  },
  "luminance": 0.17898
}

Semantic roles & 50–950 ramp

primary
#3F8518
secondary
#8E40B9
accent
#3CECAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8518

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

Preview Lab → · Contrast checker → · Palette generator →

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