#3F7E17#3F7E17

#3F7E17 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#3F7E17
RGBrgb(63, 126, 23)
HSLhsl(97, 69%, 29%)
HSVhsv(97, 82%, 49%)
CMYKcmyk(50%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.03, -38.29, 45.70)
CIE-LCHlch(47.03, 59.62, 129.95°)
OKLaboklab(53.06% -0.1066 0.1013)
OKLCHoklch(53.06% 0.147 136.5)
XYZxyz(9.6651, 16.0397, 3.3971)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E17 #56177E
analogous
#737E17 #3F7E17 #177E23
triadic
#3F7E17 #173F7E #7E173F
tetradic
#3F7E17 #17737E #56177E #7E2317
square
#3F7E17 #17737E #56177E #7E2317
split-complementary
#3F7E17 #23177E #7E1773
monochromatic
#0D1A05 #254A0E #3F7E17 #59B220 #75DA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7E17#FFFFFF#000000##FFFFFF
##3F7E171.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: #3f7e17;
/* rgb */ color: rgb(63, 126, 23);
/* oklch */ color: oklch(53.1% 0.147 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba45e',
    500: '#3f7e17',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e17;
$custom-light: #7ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e17",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 96.699,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.14708,
    "h": 136.5
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#3F7E17
secondary
#853EB3
accent
#3CECA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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