#3F7E18#3F7E18

#3F7E18 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.147 H 136.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3F7E18
RGBrgb(63, 126, 24)
HSLhsl(97, 68%, 29%)
HSVhsv(97, 81%, 49%)
CMYKcmyk(50%, 0%, 81%, 50.6%)
CIE-LABlab(47.03, -38.23, 45.38)
CIE-LCHlch(47.03, 59.34, 130.11°)
OKLaboklab(53.07% -0.1064 0.1008)
OKLCHoklch(53.07% 0.147 136.5)
XYZxyz(9.6753, 16.0438, 3.4509)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E18 #57187E
analogous
#727E18 #3F7E18 #187E24
triadic
#3F7E18 #183F7E #7E183F
tetradic
#3F7E18 #18727E #57187E #7E2418
square
#3F7E18 #18727E #57187E #7E2418
split-complementary
#3F7E18 #24187E #7E1872
monochromatic
#0D1A05 #254B0E #3F7E18 #59B122 #75D937

Accessibility & contrast

On white

4.99
#3F7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3F7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7E18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E18#FFFFFF#000000##FFFFFF
##3F7E181.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#3C796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7e18;
/* rgb */ color: rgb(63, 126, 24);
/* oklch */ color: oklch(53.1% 0.147 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba45e',
    500: '#3f7e18',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e18;
$custom-light: #7ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e18",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 97.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.14657,
    "h": 136.5
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#3F7E18
secondary
#863FB2
accent
#3DEBA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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