#3F7918#3F7918

#3F7918 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.140 H 135.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3F7918
RGBrgb(63, 121, 24)
HSLhsl(96, 67%, 28%)
HSVhsv(96, 80%, 47%)
CMYKcmyk(47.9%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.35, -36.13, 43.79)
CIE-LCHlch(45.35, 56.77, 129.52°)
OKLaboklab(51.69% -0.1007 0.0975)
OKLCHoklch(51.69% 0.14 135.9)
XYZxyz(9.0519, 14.7969, 3.2431)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7918 #521879
analogous
#6F7918 #3F7918 #187921
triadic
#3F7918 #183F79 #79183F
tetradic
#3F7918 #186F79 #521879 #792118
square
#3F7918 #186F79 #521879 #792118
split-complementary
#3F7918 #211879 #79186F
monochromatic
#0D1A05 #24460E #3F7918 #5AAC22 #76D735

Accessibility & contrast

On white

5.30
#3F7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7918
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7918#FFFFFF#000000##FFFFFF
##3F79181.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E01
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#3D7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7918;
/* rgb */ color: rgb(63, 121, 24);
/* oklch */ color: oklch(51.7% 0.140 135.9);
Tailwind
colors: {
  custom: {
    50: '#7aa05d',
    500: '#3f7918',
    950: '#000000',
  },
}
SCSS
$custom: #3f7918;
$custom-light: #7aa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7918",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 95.876,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.14017,
    "h": 135.9
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#3F7918
secondary
#813FAE
accent
#3EEAA5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3F7918

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

Preview Lab → · Contrast checker → · Palette generator →

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