#3F7C18#3F7C18

#3F7C18 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.144 H 136.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3F7C18
RGBrgb(63, 124, 24)
HSLhsl(97, 68%, 29%)
HSVhsv(97, 81%, 49%)
CMYKcmyk(49.2%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.36, -37.39, 44.75)
CIE-LCHlch(46.36, 58.32, 129.88°)
OKLaboklab(52.52% -0.1041 0.0995)
OKLCHoklch(52.52% 0.144 136.3)
XYZxyz(9.4222, 15.5374, 3.3665)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C18 #55187C
analogous
#717C18 #3F7C18 #187C23
triadic
#3F7C18 #183F7C #7C183F
tetradic
#3F7C18 #18717C #55187C #7C2318
square
#3F7C18 #18717C #55187C #7C2318
split-complementary
#3F7C18 #23187C #7C1871
monochromatic
#0D1A05 #25490E #3F7C18 #59AF22 #75D836

Accessibility & contrast

On white

5.11
#3F7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3F7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7C18
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7C18#FFFFFF#000000##FFFFFF
##3F7C181.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#3C7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f7c18;
/* rgb */ color: rgb(63, 124, 24);
/* oklch */ color: oklch(52.5% 0.144 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ba25e',
    500: '#3f7c18',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c18;
$custom-light: #7ba25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c18",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 96.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.14402,
    "h": 136.3
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#3F7C18
secondary
#843FB1
accent
#3DEAA7
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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