#3F8118#3F8118

#3F8118 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.150 H 136.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F8118
RGBrgb(63, 129, 24)
HSLhsl(98, 69%, 30%)
HSVhsv(98, 81%, 51%)
CMYKcmyk(51.2%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.04, -39.46, 46.33)
CIE-LCHlch(48.04, 60.86, 130.43°)
OKLaboklab(53.89% -0.1097 0.1028)
OKLCHoklch(53.89% 0.15 136.9)
XYZxyz(10.0647, 16.8225, 3.5807)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8118 #5A1881
analogous
#748118 #3F8118 #188125
triadic
#3F8118 #183F81 #81183F
tetradic
#3F8118 #187481 #5A1881 #812518
square
#3F8118 #187481 #5A1881 #812518
split-complementary
#3F8118 #251881 #811874
monochromatic
#0D1A05 #264D0E #3F8118 #58B522 #75DA39

Accessibility & contrast

On white

4.81
#3F8118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3F8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8118
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8118#FFFFFF#000000##FFFFFF
##3F81181.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f8118;
/* rgb */ color: rgb(63, 129, 24);
/* oklch */ color: oklch(53.9% 0.150 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba65f',
    500: '#3f8118',
    950: '#000000',
  },
}
SCSS
$custom: #3f8118;
$custom-light: #7ba65f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8118",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 97.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.15034,
    "h": 136.9
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#3F8118
secondary
#8A40B5
accent
#3CEBAA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8118

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

Preview Lab → · Contrast checker → · Palette generator →

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