#3F7C17#3F7C17

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

Color values

HEX#3F7C17
RGBrgb(63, 124, 23)
HSLhsl(96, 69%, 29%)
HSVhsv(96, 81%, 49%)
CMYKcmyk(49.2%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.36, -37.45, 45.07)
CIE-LCHlch(46.36, 58.60, 129.72°)
OKLaboklab(52.51% -0.1044 0.1)
OKLCHoklch(52.51% 0.145 136.2)
XYZxyz(9.4120, 15.5333, 3.3127)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C17 #54177C
analogous
#727C17 #3F7C17 #177C22
triadic
#3F7C17 #173F7C #7C173F
tetradic
#3F7C17 #17727C #54177C #7C2217
square
#3F7C17 #17727C #54177C #7C2217
split-complementary
#3F7C17 #22177C #7C1772
monochromatic
#0D1A05 #25480D #3F7C17 #59B021 #76D934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7C17#FFFFFF#000000##FFFFFF
##3F7C171.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)
#796C22
Tritanopia (blue-blind)
#3C7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f7c17;
/* rgb */ color: rgb(63, 124, 23);
/* oklch */ color: oklch(52.5% 0.145 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ba25d',
    500: '#3f7c17',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c17;
$custom-light: #7ba25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c17",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 96.238,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.14455,
    "h": 136.2
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#3F7C17
secondary
#833EB1
accent
#3CECA6
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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