#3F7A18#3F7A18

#3F7A18 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.0% C 0.141 H 136.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3F7A18
RGBrgb(63, 122, 24)
HSLhsl(96, 67%, 29%)
HSVhsv(96, 80%, 48%)
CMYKcmyk(48.4%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.69, -36.55, 44.11)
CIE-LCHlch(45.69, 57.28, 129.65°)
OKLaboklab(51.97% -0.1019 0.0981)
OKLCHoklch(51.97% 0.141 136.1)
XYZxyz(9.1741, 15.0412, 3.2838)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7A18 #53187A
analogous
#707A18 #3F7A18 #187A22
triadic
#3F7A18 #183F7A #7A183F
tetradic
#3F7A18 #18707A #53187A #7A2218
square
#3F7A18 #18707A #53187A #7A2218
split-complementary
#3F7A18 #22187A #7A1870
monochromatic
#0D1A05 #25470E #3F7A18 #59AD22 #76D735

Accessibility & contrast

On white

5.24
#3F7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3F7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7A18
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7A18#FFFFFF#000000##FFFFFF
##3F7A181.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#3C7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f7a18;
/* rgb */ color: rgb(63, 122, 24);
/* oklch */ color: oklch(52.0% 0.141 136.1);
Tailwind
colors: {
  custom: {
    50: '#7aa15d',
    500: '#3f7a18',
    950: '#000000',
  },
}
SCSS
$custom: #3f7a18;
$custom-light: #7aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7a18",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 96.122,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.14145,
    "h": 136.1
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#3F7A18
secondary
#823FAF
accent
#3EEAA5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3F7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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