#3F8018#3F8018

#3F8018 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.149 H 136.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8018
RGBrgb(63, 128, 24)
HSLhsl(98, 68%, 30%)
HSVhsv(98, 81%, 50%)
CMYKcmyk(50.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.70, -39.06, 46.02)
CIE-LCHlch(47.70, 60.35, 130.32°)
OKLaboklab(53.62% -0.1086 0.1021)
OKLCHoklch(53.62% 0.149 136.8)
XYZxyz(9.9336, 16.5604, 3.5370)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8018 #591880
analogous
#738018 #3F8018 #188025
triadic
#3F8018 #183F80 #80183F
tetradic
#3F8018 #187380 #591880 #802518
square
#3F8018 #187380 #591880 #802518
split-complementary
#3F8018 #251880 #801873
monochromatic
#0D1A05 #264C0E #3F8018 #58B422 #75DA39

Accessibility & contrast

On white

4.87
#3F8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8018
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8018#FFFFFF#000000##FFFFFF
##3F80181.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#3B7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8018;
/* rgb */ color: rgb(63, 128, 24);
/* oklch */ color: oklch(53.6% 0.149 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ba55e',
    500: '#3f8018',
    950: '#000000',
  },
}
SCSS
$custom: #3f8018;
$custom-light: #7ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8018",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 97.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.14909,
    "h": 136.8
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#3F8018
secondary
#8840B4
accent
#3DEBAA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8018

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

Preview Lab → · Contrast checker → · Palette generator →

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