#3F7F17#3F7F17

#3F7F17 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.3% C 0.148 H 136.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3F7F17
RGBrgb(63, 127, 23)
HSLhsl(97, 69%, 29%)
HSVhsv(97, 82%, 50%)
CMYKcmyk(50.4%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.36, -38.70, 46.02)
CIE-LCHlch(47.36, 60.13, 130.06°)
OKLaboklab(53.34% -0.1077 0.102)
OKLCHoklch(53.34% 0.148 136.6)
XYZxyz(9.7936, 16.2967, 3.4400)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7F17 #57177F
analogous
#737F17 #3F7F17 #177F23
triadic
#3F7F17 #173F7F #7F173F
tetradic
#3F7F17 #17737F #57177F #7F2317
square
#3F7F17 #17737F #57177F #7F2317
split-complementary
#3F7F17 #23177F #7F1773
monochromatic
#0D1A05 #254B0E #3F7F17 #59B320 #75DB36

Accessibility & contrast

On white

4.93
#3F7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3F7F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7F17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7F17#FFFFFF#000000##FFFFFF
##3F7F171.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#3C7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7f17;
/* rgb */ color: rgb(63, 127, 23);
/* oklch */ color: oklch(53.3% 0.148 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ba55e',
    500: '#3f7f17',
    950: '#000000',
  },
}
SCSS
$custom: #3f7f17;
$custom-light: #7ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7f17",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 96.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.14834,
    "h": 136.6
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#3F7F17
secondary
#863EB4
accent
#3CECA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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